export declare const DEEPMIND_V1BETA_FILE_SEARCH_STORES_ENDPOINT: "/v1beta/fileSearchStores";
export type DeepmindV1BetaFileSearchStoresMethod = "GET" | "POST" | "PATCH" | "DELETE";
export type DeepmindV1BetaFileSearchStoresGate = {
    accepted: boolean;
    reason?: string;
};
export type DeepmindV1BetaFileSearchStoresRuntimeContext = {
    runtimeId?: string;
    correlationId?: string;
    callerId?: string;
};
export type DeepmindV1BetaFileSearchStoresAuthEnvelope = {
    kind: "api-key" | "oauth" | "none";
    present: boolean;
    redactedToken?: string;
};
export type DeepmindV1BetaFileSearchStoresRequestEnvelope = {
    provider: "deepmind-gemini";
    apiVersion: "v1beta";
    endpoint: typeof DEEPMIND_V1BETA_FILE_SEARCH_STORES_ENDPOINT;
    operation: string;
    method: DeepmindV1BetaFileSearchStoresMethod;
    urlPath: string;
    query: Readonly<Record<string, string>>;
    headers: Readonly<Record<string, string>>;
    body?: unknown;
    runtime: Required<DeepmindV1BetaFileSearchStoresRuntimeContext>;
    requestedScopes: readonly string[];
    grantedScopes: readonly string[];
    dryRun: boolean;
    unsafeSideEffects: false;
    providerFieldsOpaque: true;
};
export type DeepmindV1BetaFileSearchStoresProviderCaller = (envelope: DeepmindV1BetaFileSearchStoresRequestEnvelope) => unknown | Promise<unknown>;
export type DeepmindV1BetaFileSearchStoresInvocationRequest = {
    operation?: string;
    method?: DeepmindV1BetaFileSearchStoresMethod;
    pathSuffix?: string;
    query?: Readonly<Record<string, string | number | boolean | undefined>>;
    headers?: Readonly<Record<string, string | undefined>>;
    body?: unknown;
    auth?: DeepmindV1BetaFileSearchStoresAuthEnvelope;
    runtime?: DeepmindV1BetaFileSearchStoresRuntimeContext;
    requiredScopes?: readonly string[];
    allowedScopes?: readonly string[];
    contract?: DeepmindV1BetaFileSearchStoresGate;
    governance?: DeepmindV1BetaFileSearchStoresGate;
    dryRun?: boolean;
    mockResponse?: unknown;
    expectResponseObject?: boolean;
    caller?: DeepmindV1BetaFileSearchStoresProviderCaller;
};
export type DeepmindV1BetaFileSearchStoresErrorCode = "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 DeepmindV1BetaFileSearchStoresError = {
    code: DeepmindV1BetaFileSearchStoresErrorCode;
    message: string;
    boundary: "input" | "contract" | "governance" | "auth" | "scope" | "provider";
    retryable: boolean;
};
export type DeepmindV1BetaFileSearchStoresProviderResponseEnvelope = {
    provider: "deepmind-gemini";
    endpoint: typeof DEEPMIND_V1BETA_FILE_SEARCH_STORES_ENDPOINT;
    mode: "dry-run" | "mock" | "caller";
    raw: unknown;
    providerFieldsOpaque: true;
};
export type DeepmindV1BetaFileSearchStoresInvocationResult = {
    ok: true;
    request: DeepmindV1BetaFileSearchStoresRequestEnvelope;
    response: DeepmindV1BetaFileSearchStoresProviderResponseEnvelope;
    events: readonly string[];
} | {
    ok: false;
    error: DeepmindV1BetaFileSearchStoresError;
    request?: DeepmindV1BetaFileSearchStoresRequestEnvelope;
    events: readonly string[];
};
export declare function classifyDeepmindV1BetaFileSearchStoresProviderError(error: unknown): DeepmindV1BetaFileSearchStoresErrorCode;
export declare function invokeDeepmindV1BetaFileSearchStores(input?: DeepmindV1BetaFileSearchStoresInvocationRequest): Promise<DeepmindV1BetaFileSearchStoresInvocationResult>;
