import type { ProviderConfig } from "../config.js"; import { type QuotaObservation } from "../quota-observation.js"; export declare const DEFAULT_PING_TIMEOUT_MS = 15000; export interface PingResult { code: string; ms: number; quotaObservations: QuotaObservation[]; } export declare function markDisabledThinkingUnsupported(providerName: string): void; export declare function shouldUseDisabledThinkingForProvider(providerName: string): boolean; export declare function buildPingEndpoint(base: string, kind: string): string; export declare function buildPingRequest(providerName: string, modelId: string, cfg: ProviderConfig, apiKey?: string, options?: { disableThinking?: boolean; }): { url: string; headers: Record; body: Record; }; /** Execute a single async ping to measure latency and remaining quota. */ export declare function pingProviderModel(providerName: string, modelId: string, cfg: ProviderConfig, apiKey?: string, opts?: { timeoutMs?: number; fetchFn?: typeof fetch; }): Promise;