/** Files API hard cap per file (2 GiB). Checked before any byte moves. */ export declare const GEMINI_FILES_MAX_BYTES: number; export interface GeminiUploadedFile { /** Resource name, e.g. `files/abc123`. */ name: string; /** The `uri` a video input references. */ uri: string; mimeType: string; sizeBytes: number; } export declare function videoMimeTypeForPath(path: string): string; export declare function uploadGeminiFile(input: { path: string; /** REQUIRED: the one key this upload (and the later Interactions call) uses. */ key: string; mimeType?: string; displayName?: string; apiBase?: string; fetcher?: typeof fetch; sleep?: (ms: number) => Promise; pollIntervalMs?: number; maxPollAttempts?: number; /** Test seam for the size guard; defaults to the real file size. */ sizeBytes?: number; }): Promise; //# sourceMappingURL=gemini-files.d.ts.map