export declare type IHijackContext = { args: T; result?: U; }; export interface IHijackOptions { before?: (ctx: IHijackContext) => void; after?: (ctx: IHijackContext) => void; } export declare function hijack(fn: (...args: T) => U, options?: IHijackOptions): { (...args: T): U; __fn: (...args: T) => U; }; export declare function onNavigate(callback: () => void): () => void; export declare const versions: Record & { url: string; };