@glyphtek/scriptit
Version:
A cross-runtime CLI and library for running scripts with environment management, TUI, and support for lambda functions. Optimized for Bun with compatibility for Node.js and Deno.
16 lines • 506 B
TypeScript
export interface ConsoleInterceptorOptions {
logFunction: (message: string) => void;
includeLevel?: boolean;
preserveOriginal?: boolean;
useColors?: boolean;
}
export interface ConsoleInterceptor {
start: () => void;
stop: () => void;
isActive: () => boolean;
}
/**
* Creates a minimal console interceptor for testing
*/
export declare function createConsoleInterceptor(options: ConsoleInterceptorOptions): ConsoleInterceptor;
//# sourceMappingURL=console-interceptor.d.ts.map