export declare const OPENAI_V1_ORGANIZATION_GROUPS_ENDPOINT: "/v1/organization/groups";
export declare const DEFAULT_OPENAI_V1_ORGANIZATION_GROUPS_BASE_URL: "https://api.openai.com";
export type OpenAIV1OrganizationGroupsMethod = "GET" | "POST" | "PATCH" | "DELETE";
export type OpenAIV1OrganizationGroupsBoundary = "input" | "contract" | "governance" | "auth" | "scope" | "provider" | "response";
export type OpenAIV1OrganizationGroupsErrorCode = "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 OpenAIV1OrganizationGroupsGate = {
    accepted: boolean;
    reason?: string;
};
export type OpenAIV1OrganizationGroupsRuntimeContext = {
    runtimeId?: string;
    invocationId?: string;
    traceId?: string;
    callerId?: string;
};
export type OpenAIV1OrganizationGroupsAuthEnvelope = {
    kind: "bearer" | "api-key" | "none";
    present: boolean;
    redactedToken?: string;
    organizationId?: string;
};
export type OpenAIV1OrganizationGroupsRequestEnvelope = {
    provider: "openai";
    apiVersion: "v1";
    endpoint: typeof OPENAI_V1_ORGANIZATION_GROUPS_ENDPOINT;
    operation: string;
    method: OpenAIV1OrganizationGroupsMethod;
    url: string;
    pathSuffix: string;
    query: Readonly<Record<string, string>>;
    headers: Readonly<Record<string, string>>;
    body?: unknown;
    runtime: Required<OpenAIV1OrganizationGroupsRuntimeContext>;
    requestedScopes: readonly string[];
    grantedScopes: readonly string[];
    dryRun: true;
    providerCallPlanned: false;
    unsafeSideEffects: false;
    providerFieldsOpaque: true;
};
export type OpenAIV1OrganizationGroupsInvocationRequest = {
    operation?: string;
    method?: OpenAIV1OrganizationGroupsMethod;
    pathSuffix?: string;
    query?: Readonly<Record<string, string | number | boolean | undefined>>;
    headers?: Readonly<Record<string, string | undefined>>;
    body?: unknown;
    baseUrl?: string;
    auth?: OpenAIV1OrganizationGroupsAuthEnvelope;
    runtime?: OpenAIV1OrganizationGroupsRuntimeContext;
    requiredScopes?: readonly string[];
    allowedScopes?: readonly string[];
    contract?: OpenAIV1OrganizationGroupsGate;
    governance?: OpenAIV1OrganizationGroupsGate;
    dryRun?: boolean;
    mockResponse?: unknown;
    expectResponseObject?: boolean;
    providerError?: unknown;
};
export type OpenAIV1OrganizationGroupsResponseEnvelope = {
    provider: "openai";
    endpoint: typeof OPENAI_V1_ORGANIZATION_GROUPS_ENDPOINT;
    mode: "dry-run" | "mock";
    raw: unknown;
    providerFieldsOpaque: true;
};
export type OpenAIV1OrganizationGroupsCapabilitySignal = {
    provider: "openai";
    layer: "actualInvocationLayer";
    endpoint: typeof OPENAI_V1_ORGANIZATION_GROUPS_ENDPOINT;
    operation: string;
    rawShape: "organization-groups-list" | "organization-group-object" | "mock" | "dry-run";
    providerRawShapePromoted: false;
};
export type OpenAIV1OrganizationGroupsError = {
    code: OpenAIV1OrganizationGroupsErrorCode;
    message: string;
    boundary: OpenAIV1OrganizationGroupsBoundary;
    retryable: boolean;
    safeForRuntimeInspection: true;
    providerRawDetailExposed: false;
};
export type OpenAIV1OrganizationGroupsResult = {
    ok: true;
    request: OpenAIV1OrganizationGroupsRequestEnvelope;
    response: OpenAIV1OrganizationGroupsResponseEnvelope;
    capability: OpenAIV1OrganizationGroupsCapabilitySignal;
    events: readonly string[];
} | {
    ok: false;
    error: OpenAIV1OrganizationGroupsError;
    request?: OpenAIV1OrganizationGroupsRequestEnvelope;
    events: readonly string[];
};
export declare const openAIV1OrganizationGroupsDescriptor: {
    readonly provider: "openai";
    readonly layer: "actualInvocationLayer";
    readonly endpoint: "/v1/organization/groups";
    readonly methods: readonly ["GET", "POST", "PATCH", "DELETE"];
    readonly requestShape: "query-or-json";
    readonly providerRawShapePromoted: false;
    readonly unsafeSideEffects: false;
};
export declare function classifyOpenAIV1OrganizationGroupsProviderError(error: unknown): OpenAIV1OrganizationGroupsErrorCode;
export declare function createOpenAIV1OrganizationGroupsInvocation(input?: OpenAIV1OrganizationGroupsInvocationRequest): OpenAIV1OrganizationGroupsResult;
