import { type DeepMindUploadBoundary, type DeepMindUploadFileDescriptor, type DeepMindUploadFileEnvelope, type DeepMindUploadGate, type DeepMindUploadProviderError, type DeepMindUploadProtocol, type DeepMindUploadTrace } from "./upload_v1beta_files.js";
export type DeepMindUploadV1BetaFileSearchStoresRequest = {
    fileSearchStoreName?: string;
    file?: DeepMindUploadFileDescriptor;
    uploadProtocol?: DeepMindUploadProtocol;
    apiKeyPresent?: boolean;
    responseBody?: Readonly<Record<string, unknown>>;
    upstreamError?: unknown;
    contract?: DeepMindUploadGate;
    governance?: DeepMindUploadGate;
    trace?: DeepMindUploadTrace;
    metadata?: Readonly<Record<string, unknown>>;
};
export type DeepMindUploadV1BetaFileSearchStoresPlan = {
    provider: "deepmind";
    endpointId: "upload.v1beta.fileSearchStores";
    endpointTemplate: "/upload/v1beta/fileSearchStores/{fileSearchStoreName}:upload";
    method: "POST";
    fileSearchStoreName: string;
    uploadProtocol: DeepMindUploadProtocol;
    file: DeepMindUploadFileEnvelope;
    auth: {
        required: true;
        present: boolean;
    };
    responseEnvelope?: {
        retained: false;
        keyHints: readonly string[];
    };
    errorEnvelope?: DeepMindUploadProviderError;
    capabilitySignal: {
        capabilityId: "deepmind.upload.v1beta.fileSearchStores";
        supportsFileSearchStoreUpload: true;
        authRequired: true;
        usableByAbstractionLayer: boolean;
    };
    metadata: Readonly<Record<string, unknown>>;
    trace: DeepMindUploadTrace;
    providerCarrierHandoff: {
        target: "providerCarrierRegistry";
        mockable: true;
        networkCallStarted: false;
    };
    abstractionHandoff: {
        target: "agent_modelAdapter.abstractionLayer";
        rawProviderFieldsExposed: false;
    };
    audit: {
        plannedBy: "deepmind.upload_v1beta_fileSearchStores";
        dryRun: true;
        unsafeSideEffects: false;
    };
};
export type DeepMindUploadV1BetaFileSearchStoresErrorCode = "MISSING_FILE_SEARCH_STORE_NAME" | "MISSING_FILE" | "MISSING_DISPLAY_NAME" | "MISSING_MIME_TYPE" | "INVALID_FILE_SIZE" | "RESPONSE_FORMAT_DRIFT" | "CONTRACT_REJECTED" | "GOVERNANCE_REJECTED";
export type DeepMindUploadV1BetaFileSearchStoresError = {
    code: DeepMindUploadV1BetaFileSearchStoresErrorCode;
    message: string;
    boundary: DeepMindUploadBoundary | "provider-response";
    safeForRuntimeInspection: true;
    rawProviderFieldsExposed: false;
};
export type DeepMindUploadV1BetaFileSearchStoresResult = {
    ok: true;
    plan: DeepMindUploadV1BetaFileSearchStoresPlan;
    events: readonly string[];
} | {
    ok: false;
    error: DeepMindUploadV1BetaFileSearchStoresError;
    events: readonly string[];
};
export declare const deepMindUploadV1BetaFileSearchStoresDescriptor: {
    readonly layer: "agent_modelAdapter.actualInvocationLayer.deepmind";
    readonly capability: "deepmind.upload.v1beta.fileSearchStores";
    readonly endpointTemplate: "/upload/v1beta/fileSearchStores/{fileSearchStoreName}:upload";
    readonly dryRun: true;
    readonly unsafeSideEffects: false;
    readonly providerFieldsPromotedToPraxisContract: false;
};
export declare function planDeepMindUploadV1BetaFileSearchStores(request?: DeepMindUploadV1BetaFileSearchStoresRequest): DeepMindUploadV1BetaFileSearchStoresResult;
