export interface ConsoleGuardOptions { readonly logDir: string; readonly onCapture?: ((level: string, message: string) => void) | undefined; } export declare function installConsoleGuard(options: ConsoleGuardOptions): () => void;