type BlockHeight = { height: number; offset: number; }; /** * Calculates the height of each block element within an article, accounting for margins between blocks. * A block is defined as content between two heading elements or from start/end of article. * @returns An array containing the heights and offsets of all block elements. */ export declare function getBlocksHeight(): BlockHeight[]; /** * Calculates the offset top position of a block element in an HTML document. * A block element is determined by its sequence number in relation to heading elements. * @param sequenceNumber - The sequence number of the block element (0-based index). * @returns The offset top position of the block element with the specified sequenceNumber, adjusted for nav height. * Returns 0 if the sequence number is invalid or no block is found. */ export declare function getBlockOffsetTop(sequenceNumber: number): number; /** * Calculates the offset top position of an article element, adjusted for navigation height. * @returns The offset top position of the article relative to the viewport, accounting for fixed navigation. */ export declare const getArticleOffsetTop: () => number; /** * Retrieves the height of the navigation element. * @returns The height of the navigation element in pixels, or 0 if no nav element exists. */ export declare const getNavHeight: () => number; export {}; //# sourceMappingURL=getBlocksHeight.d.ts.map