export declare function setupCanDeactivate(fn: () => boolean): void;