export interface ElementChildren { attribute: string | null; customAttributes: NamedValue[] | null; element: AnyElement; parent: AnyElement | null; } /** * Recursively fetches children elements and attributes. * * @param element - The root element. * @param attributeName - The attribute name to fetch. * @param parent - The parent of the current element. * @param className - The class name to fetch. * @returns - Promise of array containing elements and their children recursively. */ export declare const getAllChildren: (element: AnyElement, attributeName?: string, parent?: AnyElement | null, className?: string) => Promise;