interface BooleanAttributeDirectiveOptions { name: T; onUpdate?(element: HTMLElement): void; } interface BooleanAttributeDirective { attribute: T; selector: `[${T}]`; applied(element?: HTMLElement | null): element is E; toggle(element: HTMLElement, state?: boolean): void; } declare function booleanAttributeDirective(options: BooleanAttributeDirectiveOptions): BooleanAttributeDirective; export { BooleanAttributeDirective, BooleanAttributeDirectiveOptions, booleanAttributeDirective };