UNPKG

@lillallol/outline-pdf-data-structure

Version:

Create a pdf outline data structure from a high level string representation of pdf outline. This data structure can be used to create a real pdf outline.

7 lines (6 loc) 292 B
import type { IOutline } from "../publicApi"; /** * @description It returns the index of the immediate previous sibling for the provided outline node, * or throws if it does not find one. */ export declare function getIndexOfImmediatePreviousSibling(outline: IOutline, i: number): number;