export declare const OPENAI_V1_ORGANIZATION_AUDIT_LOGS_ENDPOINT: "/v1/organization/audit/logs";
export declare const DEFAULT_OPENAI_V1_ORGANIZATION_AUDIT_LOGS_BASE_URL: "https://api.openai.com";
export type OpenAIV1OrganizationAuditLogsBoundary = "input" | "contract" | "governance" | "auth" | "scope" | "provider" | "response";
export type OpenAIV1OrganizationAuditLogsErrorCode = "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 OpenAIV1OrganizationAuditLogsGate = {
    accepted: boolean;
    reason?: string;
};
export type OpenAIV1OrganizationAuditLogsRuntimeContext = {
    runtimeId?: string;
    invocationId?: string;
    traceId?: string;
    callerId?: string;
};
export type OpenAIV1OrganizationAuditLogsAuthEnvelope = {
    kind: "bearer" | "api-key" | "none";
    present: boolean;
    redactedToken?: string;
};
export type OpenAIV1OrganizationAuditLogsRequestEnvelope = {
    provider: "openai";
    apiVersion: "v1";
    endpoint: typeof OPENAI_V1_ORGANIZATION_AUDIT_LOGS_ENDPOINT;
    operation: "list-audit-logs";
    method: "GET";
    url: string;
    query: Readonly<Record<string, string>>;
    headers: Readonly<Record<string, string>>;
    runtime: Required<OpenAIV1OrganizationAuditLogsRuntimeContext>;
    requestedScopes: readonly string[];
    grantedScopes: readonly string[];
    dryRun: boolean;
    providerCallPlanned: boolean;
    unsafeSideEffects: false;
    providerFieldsOpaque: true;
};
export type OpenAIV1OrganizationAuditLogsProviderCaller = (envelope: OpenAIV1OrganizationAuditLogsRequestEnvelope) => unknown | Promise<unknown>;
export type OpenAIV1OrganizationAuditLogsInvocationRequest = {
    query?: Readonly<Record<string, string | number | boolean | undefined>>;
    headers?: Readonly<Record<string, string | undefined>>;
    baseUrl?: string;
    auth?: OpenAIV1OrganizationAuditLogsAuthEnvelope;
    runtime?: OpenAIV1OrganizationAuditLogsRuntimeContext;
    requiredScopes?: readonly string[];
    allowedScopes?: readonly string[];
    contract?: OpenAIV1OrganizationAuditLogsGate;
    governance?: OpenAIV1OrganizationAuditLogsGate;
    dryRun?: boolean;
    mockResponse?: unknown;
    expectResponseObject?: boolean;
    caller?: OpenAIV1OrganizationAuditLogsProviderCaller;
};
export type OpenAIV1OrganizationAuditLogsResponseEnvelope = {
    provider: "openai";
    endpoint: typeof OPENAI_V1_ORGANIZATION_AUDIT_LOGS_ENDPOINT;
    mode: "dry-run" | "mock" | "caller";
    raw: unknown;
    providerFieldsOpaque: true;
};
export type OpenAIV1OrganizationAuditLogsCapabilitySignal = {
    provider: "openai";
    endpoint: typeof OPENAI_V1_ORGANIZATION_AUDIT_LOGS_ENDPOINT;
    operation: "list-audit-logs";
    rawShape: "audit-log-list" | "mock" | "dry-run";
};
export type OpenAIV1OrganizationAuditLogsError = {
    code: OpenAIV1OrganizationAuditLogsErrorCode;
    message: string;
    boundary: OpenAIV1OrganizationAuditLogsBoundary;
    retryable: boolean;
};
export type OpenAIV1OrganizationAuditLogsResult = {
    ok: true;
    request: OpenAIV1OrganizationAuditLogsRequestEnvelope;
    response: OpenAIV1OrganizationAuditLogsResponseEnvelope;
    capability: OpenAIV1OrganizationAuditLogsCapabilitySignal;
    events: readonly string[];
} | {
    ok: false;
    error: OpenAIV1OrganizationAuditLogsError;
    request?: OpenAIV1OrganizationAuditLogsRequestEnvelope;
    events: readonly string[];
};
export declare function classifyOpenAIV1OrganizationAuditLogsProviderError(error: unknown): OpenAIV1OrganizationAuditLogsErrorCode;
export declare function invokeOpenAIV1OrganizationAuditLogs(input?: OpenAIV1OrganizationAuditLogsInvocationRequest): Promise<OpenAIV1OrganizationAuditLogsResult>;
