import type { ComplexAttributeConverter } from "lit"; /** * boolConverter — EDS custom Lit attribute converter for boolean properties. * * Enables all three usage patterns for boolean attributes on EDS web components: * * 1. HTML boolean (presence = true) * 2. Explicit string true * 3. Explicit string false (to opt-out) * * `fromAttribute` rules: * - `null` (attribute absent) → false * - `"false"` or `"0"` → false * - `""` (bare attribute) → true (standard HTML boolean behaviour) * - `"true"` or `"1"` → true * - any other string → true * * `toAttribute` rules (used when reflect: true): * - true → `"true"` (shows in the DOM / Storybook code as disabled="true") * - false → `null` (removes the attribute; keeps DOM clean) * * Usage: * @property({ converter: boolConverter, reflect: true }) * disabled = false; */ export declare const boolConverter: ComplexAttributeConverter; //# sourceMappingURL=bool-converter.d.ts.map