type DebugFileWriter = Readonly<{ appendFileSync?: (path: string, data: string) => void; writeFileSync?: (path: string, data: string) => void; }>; export declare function setDebugFileWriter(writer: DebugFileWriter | null): void; export declare function resolveDebugLogPath(env: Record | undefined, fallback?: string): string; export declare function setDebugLogDefaultPath(path: string | null): void; export interface DebugLogger { render: (message: string) => void; stream: (message: string) => void; error: (message: string, ...args: any[]) => void; } export declare function createDebugLogger(enable?: boolean): DebugLogger; /** * Check if debug logging is enabled via environment variable */ export declare function isDebugEnabled(): boolean; export {};