export declare const useNavigate: () => (to: string) => void;