1 | import { GlimmerTreeChanges, GlimmerTreeConstruction, Option } from '@glimmer/interfaces';
|
2 | import { AttrNamespace, ElementNamespace, Namespace, SimpleDocument, SimpleElement, SimpleNode } from '@simple-dom/interface';
|
3 | import { DOMOperations } from './operations';
|
4 | export declare function isWhitespace(string: string): boolean;
|
5 | export declare namespace DOM {
|
6 | class TreeConstruction extends DOMOperations implements GlimmerTreeConstruction {
|
7 | createElementNS(namespace: ElementNamespace, tag: string): SimpleElement;
|
8 | setAttribute(element: SimpleElement, name: string, value: string, namespace?: Option<AttrNamespace>): void;
|
9 | }
|
10 | const DOMTreeConstruction: typeof TreeConstruction;
|
11 | type DOMTreeConstruction = TreeConstruction;
|
12 | }
|
13 | export declare class DOMChangesImpl extends DOMOperations implements GlimmerTreeChanges {
|
14 | protected document: SimpleDocument;
|
15 | protected namespace: Option<string>;
|
16 | constructor(document: SimpleDocument);
|
17 | setAttribute(element: SimpleElement, name: string, value: string): void;
|
18 | removeAttribute(element: SimpleElement, name: string): void;
|
19 | insertAfter(element: SimpleElement, node: SimpleNode, reference: SimpleNode): void;
|
20 | }
|
21 | declare let helper: typeof DOMChangesImpl;
|
22 | export default helper;
|
23 | export declare const DOMTreeConstruction: typeof DOM.TreeConstruction;
|
24 | export declare type DOMTreeConstruction = DOM.DOMTreeConstruction;
|
25 | export declare type DOMNamespace = Namespace;
|
26 | //# sourceMappingURL=helper.d.ts.map |
\ | No newline at end of file |