interface Dom { /** * Returns DOM node with matching `id` attribute or falsy value (ex: null or undefined) * if not found. Internally if `id` is not a string then `id` returned. */ byId(falsy: Falsy, _?: any): null; byId(id: string, doc?: Document): E | null; byId(passthrough: Exclude, _?: any): T; byId(id: string | E, doc?: Document): E | null; byId(id_or_any: T, doc?: Document): T extends string ? (E | null) : T extends Falsy ? null : T; /** * Returns true if node is a descendant of ancestor */ isDescendant(node: Node | string, ancestor: Node | string): boolean; /** * Enable or disable selection on a node */ setSelectable(node: Element | string, selectable?: boolean): void; } declare const _default: Dom; export = _default; //# sourceMappingURL=dom.d.ts.map