import { j as WalkedField } from "../types-BBQaEPfE.mjs"; import { t as LitComponentResolver } from "../types-BCy7K3nk.mjs"; import { RegistrationResult } from "./registry.mjs"; //#region src/lit/defaultResolver.d.ts /** * Map of every `WalkedField.type` to its matching canonical `` * tag. Exhaustive over the discriminated union — adding a new variant * to the walker forces a deliberate update here. * * Exported so theme adapters can introspect the mapping when building * their own resolvers (e.g. a shadcn-flavoured Web Components theme * that wraps `` in a ``-style shell). */ declare const TYPE_TO_CANONICAL_TAG: Readonly>; /** * Build the default Lit resolver for the supplied * {@link RegistrationResult}. * * Each render function emits a Lit `html` template whose body is a * dynamically-created `` element with every field prop assigned. * The change callback is forwarded directly so user input on a leaf * renderer reaches the orchestrator without going through a Custom * Event boundary on the fast path. * * When no `registration` is supplied, the resolver emits the * canonical `sc-*` tags. Useful in tests where `customElements.define` * may have been called separately and the consumer doesn't need a * prefixed registration object. */ declare function createDefaultLitResolver(registration?: RegistrationResult): LitComponentResolver; //#endregion export { TYPE_TO_CANONICAL_TAG, createDefaultLitResolver };