import { AgDocument } from 'ag-charts-core'; type Callback = (params: { count: number; }) => Promise | void; /** * Wrap a function in debouncing trigger function. A requestAnimationFrame() is scheduled * after the first schedule() call, and subsequent schedule() calls will be ignored until the * animation callback executes. */ export declare function debouncedAnimationFrame(agDocument: AgDocument, cb: Callback): { schedule(delayMs?: number): void; cancel(): void; waitForCompletion(): Promise; }; export declare function debouncedCallback(cb: Callback): { schedule(delayMs?: number): void; cancel(): void; waitForCompletion(): Promise; }; export {};