import React from "react"; import type { StorageSource, StorageSourceDefinition } from "@rebasepro/types"; /** * The storage-source configuration provided to ``: the declared * definitions and the built {@link StorageSource} instances, wrapped in a * {@link StorageSourceRegistry} for fast key-based lookup. * * Mirrors the {@link DataSourcesContext} pattern used for databases. * * @internal */ export interface StorageSourcesContextValue { /** All declared storage sources, keyed by storage-source key. */ registry: Record; /** Built {@link StorageSource} for direct sources, keyed by key. */ sources: Record; } /** @internal */ export declare const StorageSourcesContext: React.Context; /** * Access the storage-source configuration provided to `` via the * `storageSources` prop. * @internal */ export declare const useStorageSources: () => StorageSourcesContextValue;