export declare function useDocument(): { document: import('../index.js').DocumentModel | null; loadState: import('../index.js').LoadState; loadError: import('../index.js').ViewerError | null; };