import type { IDisposable } from "@surface/core"; import Scheduler from "./processors/scheduler.js"; import type { DirectiveEntry } from "./types"; export declare const globalCustomDirectives: Map; export declare const scheduler: Scheduler; /** Deeply disposes a node tree. */ export declare function disposeTree(node: Node & Partial): void; /** Returns a promise that will be resolved when all scheduled updated was executed. */ export declare function painting(): Promise;