/**
 * Per-api facts the custody route decision reads (custody design 2.3 and 5, row CK5).
 *
 * `capability` says where a call of this api can run; `fetchInjection` is "yes" only when every
 * request of the api goes through the `fetch` the caller injects (otherwise the sealed route could
 * not supply the key below the seam, so the call goes to a device); `sdkLogging` is the knob that
 * turns the api's SDK logging off. An api missing from the table (an extension-registered one) is
 * treated as an ambient-credential api with unknown fetch injection, which routes it to a device.
 */
import type { ProviderCapability } from "./classify.ts";
export type FetchInjection = "yes" | "no" | "unknown";
export type SdkLoggingKnob = {
    readonly kind: "none";
} | {
    readonly kind: "client-option";
    readonly option: "logLevel";
    readonly off: "off";
} | {
    readonly kind: "unknown";
};
export interface ApiFacts {
    readonly capability: ProviderCapability;
    readonly fetchInjection: FetchInjection;
    readonly sdkLogging: SdkLoggingKnob;
}
export declare const API_FACTS: {
    readonly "openai-completions": {
        readonly capability: "cloud";
        readonly fetchInjection: "yes";
        readonly sdkLogging: {
            readonly kind: "client-option";
            readonly option: "logLevel";
            readonly off: "off";
        };
    };
    readonly "openai-responses": {
        readonly capability: "cloud";
        readonly fetchInjection: "no";
        readonly sdkLogging: {
            readonly kind: "client-option";
            readonly option: "logLevel";
            readonly off: "off";
        };
    };
    readonly "azure-openai-responses": {
        readonly capability: "cloud";
        readonly fetchInjection: "yes";
        readonly sdkLogging: {
            readonly kind: "client-option";
            readonly option: "logLevel";
            readonly off: "off";
        };
    };
    readonly "openai-codex-responses": {
        readonly capability: "cloud";
        readonly fetchInjection: "no";
        readonly sdkLogging: {
            readonly kind: "none";
        };
    };
    readonly "mistral-conversations": {
        readonly capability: "cloud";
        readonly fetchInjection: "yes";
        readonly sdkLogging: {
            readonly kind: "none";
        };
    };
    readonly "anthropic-messages": {
        readonly capability: "cloud";
        readonly fetchInjection: "yes";
        readonly sdkLogging: {
            readonly kind: "client-option";
            readonly option: "logLevel";
            readonly off: "off";
        };
    };
    readonly "pi-messages": {
        readonly capability: "cloud";
        readonly fetchInjection: "yes";
        readonly sdkLogging: {
            readonly kind: "none";
        };
    };
    readonly "google-generative-ai": {
        readonly capability: "cloud";
        readonly fetchInjection: "no";
        readonly sdkLogging: {
            readonly kind: "none";
        };
    };
    readonly "google-vertex": {
        readonly capability: "ambient-credential";
        readonly fetchInjection: "no";
        readonly sdkLogging: {
            readonly kind: "none";
        };
    };
    readonly "bedrock-converse-stream": {
        readonly capability: "ambient-credential";
        readonly fetchInjection: "no";
        readonly sdkLogging: {
            readonly kind: "unknown";
        };
    };
    readonly "devin-agent": {
        readonly capability: "cloud";
        readonly fetchInjection: "no";
        readonly sdkLogging: {
            readonly kind: "none";
        };
    };
    readonly "cursor-agent": {
        readonly capability: "callback-stream";
        readonly fetchInjection: "no";
        readonly sdkLogging: {
            readonly kind: "none";
        };
    };
};
export declare function apiFacts(api: string | undefined): ApiFacts;
//# sourceMappingURL=api-table.d.ts.map