import type { ElementPart } from 'lit-html'; import type { DirectiveParameters, DirectiveResult, PartInfo } from 'lit-html/directive.js'; import { Directive } from 'lit-html/directive.js'; /** * Lit directive for applying rest/spread props to an element. * Efficiently sets properties and attributes from an object of key-value pairs. */ declare class RestDirective extends Directive { constructor(part: PartInfo); update(part: ElementPart, [rest]: DirectiveParameters): unknown; render(rest: Record): unknown; } /** * Lit directive for applying rest/spread props to DOM elements. * * This directive efficiently applies an object of properties and attributes * to a DOM element, handling the differences between properties and attributes * automatically. * * @example * ```tsx * const props = { className: 'my-class', disabled: true }; *
Content
* ``` */ export declare const __$rest: DirectiveResult; export {}; //# sourceMappingURL=rest-directive.d.ts.map