import { T as TrustedHtml } from './trusted-html-CQ4YBquI.js';

/** @internal Paths use childNodes. Kind 1 owns the target's sole child slot. */
type CompiledBinding = readonly [path: readonly number[], kind: 0 | 1 | 2, key?: string];
type Initialize = (bind?: (index: number, value: unknown) => void) => HTMLElement | void;
/**
 * Compiler-only HTML construction. The compiler supplies escaped, closed
 * markup and descriptors for every dynamic slot. The staged initializer
 * preserves expression evaluation interleaved with initial binding effects.
 * Its undefined-binder branch constructs the original JSX exactly once.
 * No DOM or Trusted Types policy is touched until the first CSR invocation.
 */
declare function __createCompiledTemplate(markup: () => TrustedHtml, bindings: readonly CompiledBinding[]): (initialize: Initialize) => HTMLElement;

export { __createCompiledTemplate };
