import { Files } from "../index.js"; /** * Flat runtime configuration shared by every provider — one optional field per * CLI shortcut flag, plus a `configJson` passthrough blob. * * NOTE: this type (and {@link LoadResult} / {@link loadFiles}) is re-exported * as public API through the `files-sdk/loader` subpath. Renaming or removing a * field here is a breaking change for package consumers, not just a CLI flag * tweak. */ export interface GlobalCliOptions { provider?: string; /** * Scope every operation under this key prefix — maps to `FilesOptions.prefix` * on the constructed {@link Files} instance, not the per-call `list` filter. */ prefix?: string; /** * Per-attempt timeout in milliseconds, applied to every command as the * instance default ({@link OperationOptions.timeout}). */ timeout?: number; /** * Retry provider failures up to this many times, applied to every command * as the instance default ({@link OperationOptions.retries}). */ retries?: number; bucket?: string; region?: string; endpoint?: string; forcePathStyle?: boolean; accessKeyId?: string; secretAccessKey?: string; sessionToken?: string; publicBaseUrl?: string; defaultUrlExpiresIn?: number; root?: string; urlBaseUrl?: string; token?: string; access?: "public" | "private"; accountName?: string; accountKey?: string; container?: string; connectionString?: string; siteId?: string; storeName?: string; accountId?: string; url?: string; serviceRoleKey?: string; applicationKeyId?: string; applicationKey?: string; projectId?: string; keyFilename?: string; configJson?: Record; } /** * The constructed client and resolved provider slug. Public API via * `files-sdk/loader` (see the note on {@link GlobalCliOptions}). */ export interface LoadResult { files: Files; provider: string; } export declare const loadFiles: (opts: GlobalCliOptions) => Promise; export declare const describeProvider: (opts: GlobalCliOptions) => string; //# sourceMappingURL=loader.d.ts.map