export type Disposables = ReturnType; export declare function disposables(): { addEventListener(element: HTMLElement | Window | Document, name: TEventName, listener: (event: WindowEventMap[TEventName]) => any, options?: boolean | AddEventListenerOptions): () => void; requestAnimationFrame(callback: FrameRequestCallback): void; nextFrame(callback: FrameRequestCallback): void; setTimeout(handler: TimerHandler, timeout?: number | undefined, ...arguments: any[]): void; microTask(cb: () => void): () => void; style(node: HTMLElement, property: string, value: string): () => void; group(cb: (d: { addEventListener(element: HTMLElement | Window | Document, name: TEventName, listener: (event: WindowEventMap[TEventName]) => any, options?: boolean | AddEventListenerOptions): () => void; requestAnimationFrame(callback: FrameRequestCallback): void; nextFrame(callback: FrameRequestCallback): void; setTimeout(handler: TimerHandler, timeout?: number | undefined, ...arguments: any[]): void; microTask(cb: () => void): () => void; style(node: HTMLElement, property: string, value: string): () => void; group(cb: (d: /*elided*/ any) => void): () => void; add(cb: () => void): () => void; dispose(): void; }) => void): () => void; add(cb: () => void): () => void; dispose(): void; };