import type { Path } from 'wouter-preact'; export interface MemoryRouterHandle { navigate: (to: Path, options?: { replace?: boolean; }) => void; history: Path[]; } export declare const MemoryRouterContext: import("preact").Context; export declare const useMemoryRouter: () => MemoryRouterHandle | null;