export declare const DEEPMIND_V1BETA_FILE_SEARCH_STORES_DOCUMENTS_ENDPOINT: "/v1beta/fileSearchStores/documents";
export type DeepmindV1BetaFileSearchStoreDocumentsMethod = "GET" | "POST" | "PATCH" | "DELETE";
export type DeepmindV1BetaFileSearchStoreDocumentsGate = {
    accepted: boolean;
    reason?: string;
};
export type DeepmindV1BetaFileSearchStoreDocumentsRuntimeContext = {
    runtimeId?: string;
    correlationId?: string;
    callerId?: string;
};
export type DeepmindV1BetaFileSearchStoreDocumentsAuthEnvelope = {
    kind: "api-key" | "oauth" | "none";
    present: boolean;
    redactedToken?: string;
};
export type DeepmindV1BetaFileSearchStoreDocumentsRequestEnvelope = {
    provider: "deepmind-gemini";
    apiVersion: "v1beta";
    endpoint: typeof DEEPMIND_V1BETA_FILE_SEARCH_STORES_DOCUMENTS_ENDPOINT;
    operation: string;
    method: DeepmindV1BetaFileSearchStoreDocumentsMethod;
    urlPath: string;
    query: Readonly<Record<string, string>>;
    headers: Readonly<Record<string, string>>;
    body?: unknown;
    runtime: Required<DeepmindV1BetaFileSearchStoreDocumentsRuntimeContext>;
    requestedScopes: readonly string[];
    grantedScopes: readonly string[];
    dryRun: boolean;
    unsafeSideEffects: false;
    providerFieldsOpaque: true;
};
export type DeepmindV1BetaFileSearchStoreDocumentsProviderCaller = (envelope: DeepmindV1BetaFileSearchStoreDocumentsRequestEnvelope) => unknown | Promise<unknown>;
export type DeepmindV1BetaFileSearchStoreDocumentsInvocationRequest = {
    operation?: string;
    method?: DeepmindV1BetaFileSearchStoreDocumentsMethod;
    pathSuffix?: string;
    query?: Readonly<Record<string, string | number | boolean | undefined>>;
    headers?: Readonly<Record<string, string | undefined>>;
    body?: unknown;
    auth?: DeepmindV1BetaFileSearchStoreDocumentsAuthEnvelope;
    runtime?: DeepmindV1BetaFileSearchStoreDocumentsRuntimeContext;
    requiredScopes?: readonly string[];
    allowedScopes?: readonly string[];
    contract?: DeepmindV1BetaFileSearchStoreDocumentsGate;
    governance?: DeepmindV1BetaFileSearchStoreDocumentsGate;
    dryRun?: boolean;
    mockResponse?: unknown;
    expectResponseObject?: boolean;
    caller?: DeepmindV1BetaFileSearchStoreDocumentsProviderCaller;
};
export type DeepmindV1BetaFileSearchStoreDocumentsErrorCode = "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 DeepmindV1BetaFileSearchStoreDocumentsError = {
    code: DeepmindV1BetaFileSearchStoreDocumentsErrorCode;
    message: string;
    boundary: "input" | "contract" | "governance" | "auth" | "scope" | "provider";
    retryable: boolean;
};
export type DeepmindV1BetaFileSearchStoreDocumentsProviderResponseEnvelope = {
    provider: "deepmind-gemini";
    endpoint: typeof DEEPMIND_V1BETA_FILE_SEARCH_STORES_DOCUMENTS_ENDPOINT;
    mode: "dry-run" | "mock" | "caller";
    raw: unknown;
    providerFieldsOpaque: true;
};
export type DeepmindV1BetaFileSearchStoreDocumentsInvocationResult = {
    ok: true;
    request: DeepmindV1BetaFileSearchStoreDocumentsRequestEnvelope;
    response: DeepmindV1BetaFileSearchStoreDocumentsProviderResponseEnvelope;
    events: readonly string[];
} | {
    ok: false;
    error: DeepmindV1BetaFileSearchStoreDocumentsError;
    request?: DeepmindV1BetaFileSearchStoreDocumentsRequestEnvelope;
    events: readonly string[];
};
export declare function classifyDeepmindV1BetaFileSearchStoreDocumentsProviderError(error: unknown): DeepmindV1BetaFileSearchStoreDocumentsErrorCode;
export declare function invokeDeepmindV1BetaFileSearchStoreDocuments(input?: DeepmindV1BetaFileSearchStoreDocumentsInvocationRequest): Promise<DeepmindV1BetaFileSearchStoreDocumentsInvocationResult>;
