export declare const OPENAI_V1_ORGANIZATION_COSTS_ENDPOINT: "/v1/organization/costs";
export declare const DEFAULT_OPENAI_V1_ORGANIZATION_COSTS_BASE_URL: "https://api.openai.com";
export type OpenAIV1OrganizationCostsMethod = "GET";
export type OpenAIV1OrganizationCostsBoundary = "input" | "contract" | "governance" | "auth" | "scope" | "provider" | "response";
export type OpenAIV1OrganizationCostsErrorCode = "MISSING_OPERATION" | "MISSING_RUNTIME_ID" | "INVALID_QUERY" | "CONTRACT_REJECTED" | "GOVERNANCE_REJECTED" | "SCOPE_DENIED" | "AUTH_REJECTED" | "REAL_PROVIDER_CALL_NOT_ALLOWED" | "PROVIDER_AUTH_FAILED" | "PROVIDER_RATE_LIMITED" | "PROVIDER_TIMEOUT" | "PROVIDER_UNAVAILABLE" | "RESPONSE_FORMAT_DRIFT" | "PROVIDER_REJECTED";
export type OpenAIV1OrganizationCostsGate = {
    accepted: boolean;
    reason?: string;
};
export type OpenAIV1OrganizationCostsRuntimeContext = {
    runtimeId?: string;
    invocationId?: string;
    traceId?: string;
    callerId?: string;
};
export type OpenAIV1OrganizationCostsAuthEnvelope = {
    kind: "bearer" | "api-key" | "none";
    present: boolean;
    redactedToken?: string;
    organizationId?: string;
};
export type OpenAIV1OrganizationCostsRequestEnvelope = {
    provider: "openai";
    apiVersion: "v1";
    endpoint: typeof OPENAI_V1_ORGANIZATION_COSTS_ENDPOINT;
    operation: string;
    method: OpenAIV1OrganizationCostsMethod;
    url: string;
    query: Readonly<Record<string, string>>;
    headers: Readonly<Record<string, string>>;
    body?: never;
    runtime: Required<OpenAIV1OrganizationCostsRuntimeContext>;
    requestedScopes: readonly string[];
    grantedScopes: readonly string[];
    dryRun: true;
    providerCallPlanned: false;
    unsafeSideEffects: false;
    providerFieldsOpaque: true;
};
export type OpenAIV1OrganizationCostsInvocationRequest = {
    operation?: string;
    query?: Readonly<Record<string, string | number | boolean | undefined>>;
    headers?: Readonly<Record<string, string | undefined>>;
    baseUrl?: string;
    auth?: OpenAIV1OrganizationCostsAuthEnvelope;
    runtime?: OpenAIV1OrganizationCostsRuntimeContext;
    requiredScopes?: readonly string[];
    allowedScopes?: readonly string[];
    contract?: OpenAIV1OrganizationCostsGate;
    governance?: OpenAIV1OrganizationCostsGate;
    dryRun?: boolean;
    mockResponse?: unknown;
    expectResponseObject?: boolean;
    providerError?: unknown;
};
export type OpenAIV1OrganizationCostsResponseEnvelope = {
    provider: "openai";
    endpoint: typeof OPENAI_V1_ORGANIZATION_COSTS_ENDPOINT;
    mode: "dry-run" | "mock";
    raw: unknown;
    providerFieldsOpaque: true;
};
export type OpenAIV1OrganizationCostsCapabilitySignal = {
    provider: "openai";
    layer: "actualInvocationLayer";
    endpoint: typeof OPENAI_V1_ORGANIZATION_COSTS_ENDPOINT;
    operation: string;
    rawShape: "organization-costs-list" | "mock" | "dry-run";
    providerRawShapePromoted: false;
};
export type OpenAIV1OrganizationCostsError = {
    code: OpenAIV1OrganizationCostsErrorCode;
    message: string;
    boundary: OpenAIV1OrganizationCostsBoundary;
    retryable: boolean;
    safeForRuntimeInspection: true;
    providerRawDetailExposed: false;
};
export type OpenAIV1OrganizationCostsResult = {
    ok: true;
    request: OpenAIV1OrganizationCostsRequestEnvelope;
    response: OpenAIV1OrganizationCostsResponseEnvelope;
    capability: OpenAIV1OrganizationCostsCapabilitySignal;
    events: readonly string[];
} | {
    ok: false;
    error: OpenAIV1OrganizationCostsError;
    request?: OpenAIV1OrganizationCostsRequestEnvelope;
    events: readonly string[];
};
export declare const openAIV1OrganizationCostsDescriptor: {
    readonly provider: "openai";
    readonly layer: "actualInvocationLayer";
    readonly endpoint: "/v1/organization/costs";
    readonly method: "GET";
    readonly requestShape: "query";
    readonly providerRawShapePromoted: false;
    readonly unsafeSideEffects: false;
};
export declare function classifyOpenAIV1OrganizationCostsProviderError(error: unknown): OpenAIV1OrganizationCostsErrorCode;
export declare function createOpenAIV1OrganizationCostsInvocation(input?: OpenAIV1OrganizationCostsInvocationRequest): OpenAIV1OrganizationCostsResult;
