//#region src/editor/utils.d.ts declare function h(tagName: K, props?: { style?: string | Partial; dataset?: DOMStringMap | string[] | string; children?: (Node | string)[]; } & Partial>, parent?: Element | ShadowRoot | DocumentFragment): HTMLElementTagNameMap[K]; declare function isPromise(value: T | Promise): value is Promise; declare function addEventListener(el: HTMLElement, event: K, listener: (this: HTMLElement, evt: HTMLElementEventMap[K]) => void, options?: AddEventListenerOptions): () => void; declare function addEventListener(el: Document, event: K, listener: (this: Document, evt: DocumentEventMap[K]) => void, options?: AddEventListenerOptions): () => void; declare function addEventListener(el: Window, event: K, listener: (this: Window, evt: WindowEventMap[K]) => void, options?: AddEventListenerOptions): () => void; declare function addEventListener(el: MediaQueryList, event: K, listener: (this: MediaQueryList, evt: MediaQueryListEventMap[K]) => void, options?: AddEventListenerOptions): () => void; declare function getLineNumberAttr(el: HTMLElement, key?: string): number | undefined; declare function clampDomOffset(node: Node, offset: number): number; declare function extend(obj: T, attrs: Partial): T; declare function debounce void>(func: T, wait: number): (...args: Parameters) => void; declare function round(value: number, precision?: number): number; declare function endsWithLineBreak(text: string): boolean; declare function createSegmenter(options: Intl.SegmenterOptions): Intl.Segmenter | undefined; declare function getGraphemeSegmenter(): Intl.Segmenter | undefined; declare function lookupScrollContainer(element: HTMLElement): HTMLElement | Document; //#endregion export { addEventListener, clampDomOffset, createSegmenter, debounce, endsWithLineBreak, extend, getGraphemeSegmenter, getLineNumberAttr, h, isPromise, lookupScrollContainer, round }; //# sourceMappingURL=utils.d.ts.map