import type { StorageAdapter as ConfigStorageAdapter } from '../config/types.js';
/**
 * Re-exports the canonical {@link StorageAdapter} shape used by platform
 * adapters (see `packages/platform-vercel/src/storage.ts`,
 * `packages/platform-aws/src/storage.ts`).
 *
 * Historically there were two divergent `StorageAdapter` interfaces in the
 * codebase — a presign-style one here and an upload/download one in
 * `config/types.ts`. Platform packages implemented the latter, so nothing
 * actually wired the storage adapter into the API. This re-export
 * unifies them so the registry and the platform packages speak the same
 * contract.
 */
export type StorageAdapter = ConfigStorageAdapter;
/** Register a storage adapter for the running CMS instance. Idempotent. */
export declare function setStorageAdapter(adapter: StorageAdapter | null): void;
/** Returns the registered storage adapter, or `null` if none is configured. */
export declare function getStorageAdapter(): StorageAdapter | null;
/** True when a storage adapter has been registered. */
export declare function hasStorageAdapter(): boolean;
//# sourceMappingURL=index.d.ts.map