import { ChildrenType } from './types.ts'; type ArrayIteration = (element: ChildrenType, index: number) => boolean; export declare class AltChildren { private elements; constructor(childrenElements: ChildrenType); /** * Transform children into list of child nodes */ toArray(): ChildrenType[]; get size(): number; /** * This method is used to filter elements to work only with valid elements (expect null) */ filterNodes(): this; filter(fn: ArrayIteration): this; flatten(depth?: number): this; } export {};