// Generated by dts-bundle-generator v9.5.1 import { Readable } from 'node:stream'; export declare function createWindowFromHtml(templateHtml: string, uniqueId: string): any; /** * Serialize a value to a string that can be deserialized later. * @param {unknown} value - The value to serialize. * @returns {string} A string that can be deserialized later. */ export declare function serializeProperty(value: unknown): string | number | boolean; /** * Deserialize a value from a string that was serialized earlier. * @param {string} value - The string to deserialize. * @returns {unknown} The deserialized value. */ export declare function deserializeProperty(value: string): any; export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null; export interface HydrateDocumentOptions { /** * Build ID that will be added to ``. By default * a random ID will be generated */ buildId?: string; /** * Sets the `href` attribute on the `` * tag within the `
`. If the value is not defined it will * ensure a canonical link tag is no included in the ``. */ canonicalUrl?: string; /** * Include the HTML comments and attributes used by the client-side * JavaScript to read the structure of the HTML and rebuild each * component. Defaults to `true`. */ clientHydrateAnnotations?: boolean; /** * Constrain `setTimeout()` to 1ms, but still async. Also * only allows `setInterval()` to fire once, also constrained to 1ms. * Defaults to `true`. */ constrainTimeouts?: boolean; /** * Sets `document.cookie` */ cookie?: string; /** * Sets the `dir` attribute on the top level ``. */ direction?: string; /** * Component tag names listed here will not be prerendered, nor will * hydrated on the client-side. Components listed here will be ignored * as custom elements and treated no differently than a `