export declare function useViewportRef(documentId: string): import('preact').RefObject;