import { ReactNode } from 'react'; import { createViewerStore, ViewerStore } from '../core/store/index.js'; type ViewerStoreInstance = ReturnType; export declare function ViewerStoreProvider({ store, children, }: { store: ViewerStoreInstance; children: ReactNode; }): import("react").JSX.Element; export declare function useViewerStore(): ViewerStore; export declare function useViewerStore(selector: (s: ViewerStore) => T): T; export declare function useDocViewer(): { openDocument: (source: import('../index.js').FileSource) => Promise; closeDocument: () => void; goToPage: (index: number) => void; nextPage: () => void; prevPage: () => void; setZoom: (zoom: number) => void; zoomIn: () => void; zoomOut: () => void; rotateClockwise: () => void; rotateCounterClockwise: () => void; setTheme: (theme: import('../index.js').Theme) => void; toggleSidebar: () => void; document: import('../index.js').DocumentModel | null; loadState: import('../index.js').LoadState; loadError: import('../index.js').ViewerError | null; adapter: import('../index.js').Adapter | null; currentPage: number; zoom: number; rotation: 0 | 90 | 180 | 270; fitMode: import('../index.js').FitMode; theme: import('../index.js').Theme; sidebarOpen: boolean; }; export {};