export declare const OPENAI_V1_ORGANIZATION_CERTIFICATES_ENDPOINT: "/v1/organization/certificates";
export declare const DEFAULT_OPENAI_V1_ORGANIZATION_CERTIFICATES_BASE_URL: "https://api.openai.com";
export type OpenAIV1OrganizationCertificatesMethod = "GET" | "POST" | "DELETE";
export type OpenAIV1OrganizationCertificatesBoundary = "input" | "contract" | "governance" | "auth" | "scope" | "provider" | "response";
export type OpenAIV1OrganizationCertificatesErrorCode = "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 OpenAIV1OrganizationCertificatesGate = {
    accepted: boolean;
    reason?: string;
};
export type OpenAIV1OrganizationCertificatesRuntimeContext = {
    runtimeId?: string;
    invocationId?: string;
    traceId?: string;
    callerId?: string;
};
export type OpenAIV1OrganizationCertificatesAuthEnvelope = {
    kind: "bearer" | "api-key" | "none";
    present: boolean;
    redactedToken?: string;
};
export type OpenAIV1OrganizationCertificatesRequestEnvelope = {
    provider: "openai";
    apiVersion: "v1";
    endpoint: typeof OPENAI_V1_ORGANIZATION_CERTIFICATES_ENDPOINT;
    operation: string;
    method: OpenAIV1OrganizationCertificatesMethod;
    url: string;
    pathSuffix: string;
    query: Readonly<Record<string, string>>;
    headers: Readonly<Record<string, string>>;
    body?: unknown;
    runtime: Required<OpenAIV1OrganizationCertificatesRuntimeContext>;
    requestedScopes: readonly string[];
    grantedScopes: readonly string[];
    dryRun: boolean;
    providerCallPlanned: boolean;
    unsafeSideEffects: false;
    providerFieldsOpaque: true;
};
export type OpenAIV1OrganizationCertificatesProviderCaller = (envelope: OpenAIV1OrganizationCertificatesRequestEnvelope) => unknown | Promise<unknown>;
export type OpenAIV1OrganizationCertificatesInvocationRequest = {
    operation?: string;
    method?: OpenAIV1OrganizationCertificatesMethod;
    pathSuffix?: string;
    query?: Readonly<Record<string, string | number | boolean | undefined>>;
    headers?: Readonly<Record<string, string | undefined>>;
    body?: unknown;
    baseUrl?: string;
    auth?: OpenAIV1OrganizationCertificatesAuthEnvelope;
    runtime?: OpenAIV1OrganizationCertificatesRuntimeContext;
    requiredScopes?: readonly string[];
    allowedScopes?: readonly string[];
    contract?: OpenAIV1OrganizationCertificatesGate;
    governance?: OpenAIV1OrganizationCertificatesGate;
    dryRun?: boolean;
    mockResponse?: unknown;
    expectResponseObject?: boolean;
    caller?: OpenAIV1OrganizationCertificatesProviderCaller;
};
export type OpenAIV1OrganizationCertificatesResponseEnvelope = {
    provider: "openai";
    endpoint: typeof OPENAI_V1_ORGANIZATION_CERTIFICATES_ENDPOINT;
    mode: "dry-run" | "mock" | "caller";
    raw: unknown;
    providerFieldsOpaque: true;
};
export type OpenAIV1OrganizationCertificatesCapabilitySignal = {
    provider: "openai";
    endpoint: typeof OPENAI_V1_ORGANIZATION_CERTIFICATES_ENDPOINT;
    operation: string;
    rawShape: "certificate-object" | "certificate-list" | "mock" | "dry-run";
};
export type OpenAIV1OrganizationCertificatesError = {
    code: OpenAIV1OrganizationCertificatesErrorCode;
    message: string;
    boundary: OpenAIV1OrganizationCertificatesBoundary;
    retryable: boolean;
};
export type OpenAIV1OrganizationCertificatesResult = {
    ok: true;
    request: OpenAIV1OrganizationCertificatesRequestEnvelope;
    response: OpenAIV1OrganizationCertificatesResponseEnvelope;
    capability: OpenAIV1OrganizationCertificatesCapabilitySignal;
    events: readonly string[];
} | {
    ok: false;
    error: OpenAIV1OrganizationCertificatesError;
    request?: OpenAIV1OrganizationCertificatesRequestEnvelope;
    events: readonly string[];
};
export declare function classifyOpenAIV1OrganizationCertificatesProviderError(error: unknown): OpenAIV1OrganizationCertificatesErrorCode;
export declare function invokeOpenAIV1OrganizationCertificates(input?: OpenAIV1OrganizationCertificatesInvocationRequest): Promise<OpenAIV1OrganizationCertificatesResult>;
