export declare const OPENAI_V1_ORGANIZATION_PROJECTS_ENDPOINT: "/v1/organization/projects";
export declare const DEFAULT_OPENAI_V1_ORGANIZATION_PROJECTS_BASE_URL: "https://api.openai.com";
export type OpenAIV1OrganizationProjectsMethod = "GET" | "POST" | "PATCH" | "DELETE";
export type OpenAIV1OrganizationProjectsBoundary = "input" | "contract" | "governance" | "auth" | "scope" | "provider" | "response";
export type OpenAIV1OrganizationProjectsErrorCode = "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 OpenAIV1OrganizationProjectsGate = {
    accepted: boolean;
    reason?: string;
};
export type OpenAIV1OrganizationProjectsRuntimeContext = {
    runtimeId?: string;
    invocationId?: string;
    traceId?: string;
    callerId?: string;
};
export type OpenAIV1OrganizationProjectsAuthEnvelope = {
    kind: "bearer" | "api-key" | "none";
    present: boolean;
    redactedToken?: string;
    organizationId?: string;
};
export type OpenAIV1OrganizationProjectsRequestEnvelope = {
    provider: "openai";
    apiVersion: "v1";
    endpoint: typeof OPENAI_V1_ORGANIZATION_PROJECTS_ENDPOINT;
    operation: string;
    method: OpenAIV1OrganizationProjectsMethod;
    url: string;
    pathSuffix: string;
    query: Readonly<Record<string, string>>;
    headers: Readonly<Record<string, string>>;
    body?: unknown;
    runtime: Required<OpenAIV1OrganizationProjectsRuntimeContext>;
    requestedScopes: readonly string[];
    grantedScopes: readonly string[];
    dryRun: true;
    providerCallPlanned: false;
    unsafeSideEffects: false;
    providerFieldsOpaque: true;
};
export type OpenAIV1OrganizationProjectsInvocationRequest = {
    operation?: string;
    method?: OpenAIV1OrganizationProjectsMethod;
    pathSuffix?: string;
    query?: Readonly<Record<string, string | number | boolean | undefined>>;
    headers?: Readonly<Record<string, string | undefined>>;
    body?: unknown;
    baseUrl?: string;
    auth?: OpenAIV1OrganizationProjectsAuthEnvelope;
    runtime?: OpenAIV1OrganizationProjectsRuntimeContext;
    requiredScopes?: readonly string[];
    allowedScopes?: readonly string[];
    contract?: OpenAIV1OrganizationProjectsGate;
    governance?: OpenAIV1OrganizationProjectsGate;
    dryRun?: boolean;
    mockResponse?: unknown;
    expectResponseObject?: boolean;
    providerError?: unknown;
};
export type OpenAIV1OrganizationProjectsResponseEnvelope = {
    provider: "openai";
    endpoint: typeof OPENAI_V1_ORGANIZATION_PROJECTS_ENDPOINT;
    mode: "dry-run" | "mock";
    raw: unknown;
    providerFieldsOpaque: true;
};
export type OpenAIV1OrganizationProjectsCapabilitySignal = {
    provider: "openai";
    layer: "actualInvocationLayer";
    endpoint: typeof OPENAI_V1_ORGANIZATION_PROJECTS_ENDPOINT;
    operation: string;
    rawShape: "organization-projects-list" | "organization-project-object" | "mock" | "dry-run";
    providerRawShapePromoted: false;
};
export type OpenAIV1OrganizationProjectsError = {
    code: OpenAIV1OrganizationProjectsErrorCode;
    message: string;
    boundary: OpenAIV1OrganizationProjectsBoundary;
    retryable: boolean;
    safeForRuntimeInspection: true;
    providerRawDetailExposed: false;
};
export type OpenAIV1OrganizationProjectsResult = {
    ok: true;
    request: OpenAIV1OrganizationProjectsRequestEnvelope;
    response: OpenAIV1OrganizationProjectsResponseEnvelope;
    capability: OpenAIV1OrganizationProjectsCapabilitySignal;
    events: readonly string[];
} | {
    ok: false;
    error: OpenAIV1OrganizationProjectsError;
    request?: OpenAIV1OrganizationProjectsRequestEnvelope;
    events: readonly string[];
};
export declare const openAIV1OrganizationProjectsDescriptor: {
    readonly provider: "openai";
    readonly layer: "actualInvocationLayer";
    readonly endpoint: "/v1/organization/projects";
    readonly methods: readonly ["GET", "POST", "PATCH", "DELETE"];
    readonly requestShape: "query-or-json";
    readonly providerRawShapePromoted: false;
    readonly unsafeSideEffects: false;
};
export declare function classifyOpenAIV1OrganizationProjectsProviderError(error: unknown): OpenAIV1OrganizationProjectsErrorCode;
export declare function createOpenAIV1OrganizationProjectsInvocation(input?: OpenAIV1OrganizationProjectsInvocationRequest): OpenAIV1OrganizationProjectsResult;
