/** Minimal internal diagnostics sink used by query runtimes. */ export interface DiagnosticsSink { record(message: string, error?: unknown): void; } export type SdkDiagnosticsOptions = { debug?: boolean; debugFile?: string; stderr?: (data: string) => void; }; export declare function isSdkDiagnosticsEnabled(options: SdkDiagnosticsOptions): boolean; export declare function resolveSdkDiagnosticsFilePath(options: SdkDiagnosticsOptions): string | undefined; export declare class SdkDiagnostics implements DiagnosticsSink { private readonly enabled; private readonly debugFile?; private readonly stderr?; constructor(options?: SdkDiagnosticsOptions); record(message: string, error?: unknown): void; get filePath(): string | undefined; private writeToFile; private writeToStderr; private formatLine; private formatError; }