/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */ export declare function _isPromise(fn: any): fn is Promise; export declare function _wrapInterval(action: any, timeout?: any): AgPromise; type ResolveAndRejectCallback = (resolve: (value: T | null) => void, reject: (params: any) => void) => void; export declare class AgPromise { private status; private resolution; private readonly waiters; static all(promises: AgPromise[]): AgPromise<(T | null)[]>; static resolve(value?: T | null): AgPromise; constructor(callback: ResolveAndRejectCallback); then(func: (result: T | null) => V): AgPromise; private onDone; private onReject; } export {};