import type { Dispatch, ReactNode } from 'react'; import type { ActionType } from '../../types/util.js'; interface HomeContextType { rocUrl: string; database: string; iframePath: string; iframeMode: 'closed' | 'sample' | 'no-sample'; selectedSample: string | null; } type HomeContextAction = ActionType<'SELECT_SAMPLE', string> | ActionType<'OPEN_NO_SAMPLE'> | ActionType<'SET_IFRAME_PAGE', string>; interface HomeContextProviderProps { children: ReactNode; rocUrl?: string; database?: string; defaultPath?: string; } export declare function HomeContextProvider(props: HomeContextProviderProps): import("react").JSX.Element; export declare function useHomeContext(): HomeContextType; export declare function useHomeDispatchContext(): Dispatch; export {}; //# sourceMappingURL=home_context.d.ts.map