/** * Shared template utilities for client and server. * * @packageDocumentation */ import { TemplateAttrs } from './types.js'; /** * Extract template attributes from an element. * * @param el - The element to extract attributes from * @returns An object with all attributes and children innerHTML */ export declare function getTemplateAttrs(el: Element): TemplateAttrs; /** * Check if element has any g-bind:* attributes. * * @param el - The element to check * @returns True if element has g-bind attributes */ export declare function hasBindAttributes(el: Element): boolean; /** * Decode HTML entities that happy-dom doesn't decode. * Only needed for server-side rendering. * * @param str - The string with HTML entities * @returns The decoded string */ export declare function decodeHTMLEntities(str: string): string;