/** * Debug and verbose output utilities. * * Per clig.dev guidelines: * - --debug: Show stack traces, internal state, detailed error info * - --verbose: Show operational details (what's happening, timing, API calls) * * Both output to stderr to keep stdout clean for data. */ /** * Set the debug flag (typically from CLI --debug option) */ export declare function setDebugEnabled(enabled: boolean): void; /** * Set the verbose flag (typically from CLI --verbose option) */ export declare function setVerboseEnabled(enabled: boolean): void; /** * Check if debug mode is enabled */ export declare function isDebugEnabled(): boolean; /** * Check if verbose mode is enabled */ export declare function isVerboseEnabled(): boolean; /** * Output debug information (stack traces, internal state). * Only outputs when --debug flag is set. */ export declare function debug(message: string, data?: unknown): void; /** * Output verbose operational information (API calls, timing). * Only outputs when --verbose flag is set. */ export declare function verbose(message: string): void; /** * Time an async operation and log it (verbose mode only). * Returns the result of the operation. */ export declare function verboseTime(label: string, operation: () => Promise): Promise; /** * Reset debug/verbose state (useful for testing) */ export declare function resetDebugState(): void; //# sourceMappingURL=debug.d.ts.map