1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | import { Directive, PartInfo, DirectiveClass, DirectiveResult } from './directive.js';
|
7 | import { AttributePart, Part, Disconnectable } from './lit-html.js';
|
8 | import type { PropertyPart, ChildPart, BooleanAttributePart, EventPart, ElementPart, TemplateInstance } from './lit-html.js';
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | export declare const _$LH: {
|
21 | boundAttributeSuffix: string;
|
22 | marker: string;
|
23 | markerMatch: string;
|
24 | HTML_RESULT: number;
|
25 | getTemplateHtml: (strings: TemplateStringsArray, type: 1 | 2) => [import("trusted-types/lib/index.js").TrustedHTML, string[]];
|
26 | overrideDirectiveResolve: (directiveClass: new (part: PartInfo) => Directive & {
|
27 | render(): unknown;
|
28 | }, resolveOverrideFn: (directive: Directive, values: unknown[]) => unknown) => {
|
29 | new (part: PartInfo): {
|
30 | _$resolve(this: Directive, _part: Part, values: unknown[]): unknown;
|
31 | __part: Part;
|
32 | __attributeIndex: number | undefined;
|
33 | __directive?: Directive | undefined;
|
34 | _$parent: Disconnectable;
|
35 | _$disconnectableChildren?: Set<Disconnectable> | undefined;
|
36 | _$notifyDirectiveConnectionChanged?(isConnected: boolean): void;
|
37 | readonly _$isConnected: boolean;
|
38 | _$initialize(part: Part, parent: Disconnectable, attributeIndex: number | undefined): void;
|
39 | render: ((...props: unknown[]) => unknown) & (() => unknown);
|
40 | update(_part: Part, props: unknown[]): unknown;
|
41 | };
|
42 | };
|
43 | patchDirectiveResolve: (directiveClass: typeof Directive, resolveOverrideFn: (this: Directive, _part: Part, values: unknown[]) => unknown) => void;
|
44 | setDirectiveClass(value: DirectiveResult, directiveClass: DirectiveClass): void;
|
45 | getAttributePartCommittedValue: (part: AttributePart, value: unknown, index: number | undefined) => unknown;
|
46 | connectedDisconnectable: (props?: object) => Disconnectable;
|
47 | resolveDirective: (part: ChildPart | AttributePart | ElementPart, value: unknown, parent?: import("./lit-html.js").DirectiveParent, attributeIndex?: number | undefined) => unknown;
|
48 | AttributePart: typeof AttributePart;
|
49 | PropertyPart: typeof PropertyPart;
|
50 | BooleanAttributePart: typeof BooleanAttributePart;
|
51 | EventPart: typeof EventPart;
|
52 | ElementPart: typeof ElementPart;
|
53 | TemplateInstance: typeof TemplateInstance;
|
54 | isIterable: (value: unknown) => value is Iterable<unknown>;
|
55 | ChildPart: typeof ChildPart;
|
56 | };
|
57 |
|
\ | No newline at end of file |