UNPKG

ember-material-icons

Version:

Google Material icons for your ember-cli app

55 lines (54 loc) 1.86 kB
import { FIXME, Option } from '@glimmer/util'; export declare type FIX_REIFICATION<T> = FIXME<T, 'needs to be reified properly'>; export declare type Namespace = "http://www.w3.org/1999/xhtml" | "http://www.w3.org/1998/Math/MathML" | "http://www.w3.org/2000/svg" | "http://www.w3.org/1999/xlink" | "http://www.w3.org/XML/1998/namespace" | "http://www.w3.org/2000/xmlns/"; export declare enum NodeType { Element = 0, Attribute = 1, Text = 2, CdataSection = 3, EntityReference = 4, Entity = 5, ProcessingInstruction = 6, Comment = 7, Document = 8, DocumentType = 9, DocumentFragment = 10, Notation = 11, } export interface Node { nextSibling: Option<Node>; previousSibling: Option<Node>; parentNode: Option<Node>; nodeType: NodeType | number; nodeValue: Option<string>; firstChild: Option<Node>; } export interface Document extends Node { createElement(tag: string): Element; createElementNS(namespace: Namespace, tag: string): Element; createTextNode(text: string): Text; createComment(data: string): Comment; } export interface CharacterData extends Node { data: string; } export interface Text extends CharacterData { } export interface Comment extends CharacterData { } export interface Element extends Node { namespaceURI: Option<string>; tagName: string; firstChild: Option<Node>; lastChild: Option<Node>; removeAttribute(name: string): void; removeAttributeNS(namespaceURI: string, name: string): void; setAttribute(name: string, value: string): void; setAttributeNS(namespaceURI: string, qualifiedName: string, value: string): void; insertBefore(node: Node, reference: Option<Node>): void; removeChild(node: Node): void; } export interface SVGElement extends Element { } export interface HTMLElement extends Element { }