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) 269 B
import { IOutline } from "../publicApi"; /** * @description Returns the index of the last immediate child for the provided outline node. * It throws if there is no child. */ export declare function getIndexOfLastImmediateChild(outline: IOutline, i: number): number;