import { type ActionHandler, type NavigateToImpl } from '../types/core';
/**
 * Strips the basename from the pathname
 *
 * From https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/router/utils.ts#L1511
 */
export declare function stripBasename(pathname: string, basename: string): string | null;
/**
 * Front-end handler for NavigateTo action.
 * Navigates to a specified URL.
 *
 * Absolute/relative and external/internal differentiation follows logic from react-router's Link component:
 * https://github.com/remix-run/react-router/blob/32d759958978b9fbae676806dd6c84ade9866746/packages/react-router/lib/dom/lib.tsx#L623-L658
 */
declare const NavigateTo: ActionHandler<NavigateToImpl>;
export default NavigateTo;
//# sourceMappingURL=navigate-to.d.ts.map