/** * Simple debug logger for orchestrator classes */ export declare class OrchestratorLogger { private debug; private prefix; constructor(debug?: boolean, prefix?: string); /** * Debug-level logging - only shown when debug is enabled */ log(...args: any[]): void; /** * Info-level logging - only shown when debug is enabled */ info(...args: any[]): void; /** * Warning-level logging - always shown */ warn(...args: any[]): void; /** * Error-level logging - always shown */ error(...args: any[]): void; /** * Creates a child logger with an additional prefix */ child(childPrefix: string): OrchestratorLogger; /** * Estimates token count for text (rough approximation) * This is a simple heuristic - for production you might want to use a proper tokenizer */ estimateTokens(text: string): number; /** * Logs token estimation if debug is enabled */ logTokenEstimate(label: string, text: string): void; /** * Times a function execution and logs the duration */ time(label: string, fn: () => Promise): Promise; /** * Times a synchronous function execution and logs the duration */ timeSync(label: string, fn: () => T): T; } //# sourceMappingURL=logger.d.ts.map