import type { ResolvedTarget } from "./config.js"; import type { RequestAttemptLog, RequestLog } from "./log.js"; /** Build the metadata-only record shared by data-plane and admin handlers. */ export declare function baseLog(started: number, path: string, hadTools: boolean, streamed: boolean, backendStatus: number, validated: RequestLog["validated"], served: ResolvedTarget | null, attempts?: readonly RequestAttemptLog[], upstreamReportedModel?: string, servedCredential?: string | null): RequestLog; /** Keep query parameter names for diagnostics while replacing content-bearing values. */ export declare function logSafePath(path: string): string;