/** * Check if a URL matches a known AI API pattern and isn't on coolhand-node's own * exclude list (e.g. batch-prediction-job status polling) — mirrors the filtering * coolhand-node's SDK applies before treating a request as an inference call. * Uses coolhand-node's PatternMatchingService which covers * OpenAI, Anthropic, Google AI, Cohere, Hugging Face, etc. */ export declare function shouldCapture(url: string): boolean; /** * Flatten a raw header map (values may be string[], string, or undefined) * into Record, joining multi-value headers with ", ". */ export declare function flattenHeaders(headers: Record): Record; /** * Sanitize headers by redacting sensitive values (API keys, auth tokens). */ export declare function sanitizeHeaders(headers: Record): Record; /** * Sanitize a URL by redacting sensitive query parameter values * (API keys, tokens) while leaving the rest of the URL intact. */ export declare function sanitizeURL(url: string): string; //# sourceMappingURL=interceptor.d.ts.map