import { Elem } from "./elem.js"; import { Constructor } from "../types/constructor.js"; import { LitElement, TemplateResult, PropertyDeclaration, CSSResult } from "lit"; export interface Use extends Elem { element: LitElement & xProps; state(initial: xValue | ((element: LitElement & xProps) => xValue)): [xValue, (v: xValue) => void]; setup(initializer: (element: LitElement & xProps) => (void | (() => void))): void; } export declare function asPropertyDeclarations(declarations: { [P in keyof xProps]: PropertyDeclaration; }): { [P in keyof xProps]: PropertyDeclaration; }; export declare function component(options: { styles?: CSSResult; shadow?: boolean; properties?: { [P in keyof xProps]: PropertyDeclaration; }; }, renderHtml: (use: Use) => TemplateResult): Constructor;