/** * Creates a skeleton loader HTML string with animated placeholder. * The text is rendered transparent and overlaid with an animated rectangle, * which keeps the skeleton at the same intrinsic width as the final content. * @param text - The text to use as a placeholder (will be transparent) * @returns HTML string for skeleton loader */ export declare function createSkeletonLoader(text: string): string; /** * Replaces text nodes in a DOM tree with skeleton loaders. * Text nodes whose ancestor chain includes any tag in `skipInsideTags` * are left untouched — the per-list component already replaces those values. * @param node - The root node to process * @param options - Options object * @param options.skipInsideTags - Lowercase tag names whose descendant text nodes should be left alone. * @param options.createSkeletonFn - Function to create skeleton HTML (defaults to createSkeletonLoader) */ export declare function replaceTextNodesWithSkeletons(node: Node, options: { skipInsideTags: readonly string[]; createSkeletonFn?: (text: string) => string; }): void;