let _adapter = null;
/** Register a storage adapter for the running CMS instance. Idempotent. */
export function setStorageAdapter(adapter) {
    _adapter = adapter;
}
/** Returns the registered storage adapter, or `null` if none is configured. */
export function getStorageAdapter() {
    return _adapter;
}
/** True when a storage adapter has been registered. */
export function hasStorageAdapter() {
    return _adapter !== null;
}
//# sourceMappingURL=index.js.map