export type TranslatableContent = { element: HTMLElement; text: string; isNested: boolean; }[]; export declare class DocumentNavigator { /** * Retrieves text nodes eligible for translation from the document * @returns Collection of text nodes ready for translation */ static findTranslatableContent(): TranslatableContent; /** * Divides a collection into smaller groups * @param items Collection to divide * @param groupSize Maximum size of each group * @returns Array of item groups */ static divideIntoGroups(items: T[], groupSize: number): T[][]; }