export declare const DEEPMIND_V1BETA_MODELS_ENDPOINT: "/v1beta/models";
export type DeepMindV1BetaModelsBoundary = "input" | "contract" | "governance" | "auth" | "scope" | "provider" | "response";
export type DeepMindV1BetaModelsErrorCode = "MISSING_OPERATION" | "MISSING_RUNTIME_ID" | "CONTRACT_REJECTED" | "GOVERNANCE_REJECTED" | "SCOPE_DENIED" | "AUTH_REJECTED" | "CALLER_REQUIRED" | "PROVIDER_AUTH_FAILED" | "PROVIDER_RATE_LIMITED" | "PROVIDER_TIMEOUT" | "PROVIDER_UNAVAILABLE" | "RESPONSE_FORMAT_DRIFT" | "CALLER_FAILED";
export type DeepMindV1BetaModelsGate = {
    accepted: boolean;
    reason?: string;
};
export type DeepMindV1BetaModelsRuntimeContext = {
    runtimeId?: string;
    correlationId?: string;
    callerId?: string;
};
export type DeepMindV1BetaModelsQuery = Readonly<Record<string, string | number | boolean | undefined>>;
export type DeepMindV1BetaModelsAuthEnvelope = {
    kind: "api-key" | "oauth" | "none";
    present: boolean;
    redactedToken?: string;
};
export type DeepMindV1BetaModelsProviderEnvelope = {
    provider: "deepmind";
    apiVersion: "v1beta";
    endpoint: typeof DEEPMIND_V1BETA_MODELS_ENDPOINT;
    operation: string;
    method: "GET";
    urlPath: typeof DEEPMIND_V1BETA_MODELS_ENDPOINT;
    query: Readonly<Record<string, string>>;
    headers: Readonly<Record<string, string>>;
    runtime: Required<DeepMindV1BetaModelsRuntimeContext>;
    requestedScopes: readonly string[];
    grantedScopes: readonly string[];
    dryRun: boolean;
    unsafeSideEffects: false;
    providerFieldsOpaque: true;
};
export type DeepMindV1BetaModelsProviderCaller = (envelope: DeepMindV1BetaModelsProviderEnvelope) => unknown | Promise<unknown>;
export type DeepMindV1BetaModelsRequest = {
    operation?: string;
    query?: DeepMindV1BetaModelsQuery;
    headers?: Readonly<Record<string, string | undefined>>;
    auth?: DeepMindV1BetaModelsAuthEnvelope;
    runtime?: DeepMindV1BetaModelsRuntimeContext;
    requiredScopes?: readonly string[];
    allowedScopes?: readonly string[];
    contract?: DeepMindV1BetaModelsGate;
    governance?: DeepMindV1BetaModelsGate;
    dryRun?: boolean;
    mockResponse?: unknown;
    expectModelsArray?: boolean;
    caller?: DeepMindV1BetaModelsProviderCaller;
};
export type DeepMindV1BetaModelsResponseEnvelope = {
    provider: "deepmind";
    endpoint: typeof DEEPMIND_V1BETA_MODELS_ENDPOINT;
    mode: "dry-run" | "mock" | "caller";
    raw: unknown;
    providerFieldsOpaque: true;
};
export type DeepMindV1BetaModelsCapabilitySignal = {
    provider: "deepmind";
    endpoint: typeof DEEPMIND_V1BETA_MODELS_ENDPOINT;
    operation: string;
    rawShape: "models-list" | "dry-run" | "opaque-provider-payload";
};
export type DeepMindV1BetaModelsError = {
    code: DeepMindV1BetaModelsErrorCode;
    message: string;
    boundary: DeepMindV1BetaModelsBoundary;
    retryable: boolean;
};
export type DeepMindV1BetaModelsResult = {
    ok: true;
    envelope: DeepMindV1BetaModelsProviderEnvelope;
    response: DeepMindV1BetaModelsResponseEnvelope;
    capability: DeepMindV1BetaModelsCapabilitySignal;
    events: readonly string[];
} | {
    ok: false;
    error: DeepMindV1BetaModelsError;
    envelope?: DeepMindV1BetaModelsProviderEnvelope;
    events: readonly string[];
};
export declare function classifyDeepMindV1BetaModelsProviderError(error: unknown): DeepMindV1BetaModelsErrorCode;
export declare function invokeDeepMindV1BetaModels(request?: DeepMindV1BetaModelsRequest): Promise<DeepMindV1BetaModelsResult>;
