/**
 * LLM latency and cost profiling for AI endpoints.
 *
 * Detects AI endpoints by URL path patterns or response body fields,
 * measures time-to-first-token for streaming responses, extracts token
 * counts from response bodies/headers, and estimates cost using a
 * built-in pricing table.
 */
export interface LLMProfile {
    endpoint: string;
    ttftMs: number | null;
    totalMs: number;
    statusCode: number;
    inputTokens: number | null;
    outputTokens: number | null;
    estimatedCostCents: number | null;
    model: string | null;
    provider: string | null;
}
export declare const MODEL_PRICING: Record<string, [number, number]>;
export declare function isAIEndpoint(url: string, responseBody?: string): boolean;
export interface ProfileAIEndpointOptions {
    method?: string;
    headers?: Record<string, string>;
    body?: string;
    timeoutMs?: number;
}
export declare function profileAIEndpoint(url: string, options?: ProfileAIEndpointOptions): Promise<LLMProfile>;
//# sourceMappingURL=ai-profiler.d.ts.map