import { ResourceBrowserSource, ResourceBrowserPlugin, ResourceBrowserSourceWithPlugin } from '../types'; export type UseSourcesProps = { onRequestSources: () => Promise; plugins: Array; }; /** * Loads and caches the source list when a component using the hook is mounted. */ export declare const useSources: ({ onRequestSources, plugins }: UseSourcesProps) => { data: ResourceBrowserSourceWithPlugin[]; error: Error | null; isLoading: boolean; reload: () => void; };