@keystatic/core

Search for an npm package
import React, { ReactNode } from 'react';
export type Router = {
push: (path: string) => void;
replace: (path: string) => void;
href: string;
params: string[];
pathname: string;
search: string;
};
export declare function RouterProvider(props: {
children: ReactNode;
}): React.JSX.Element;
export declare function useRouter(): Router;