declare global {
    interface PromiseConstructor {
        withResolvers<T>(): {
            promise: Promise<T>;
            resolve: (value: T | PromiseLike<T>) => void;
            reject: (reason?: unknown) => void;
        };
    }
    interface Promise<T> {
        /** Delays promise return by milliseconds */
        delayed(milli: number): Promise<T>;
    }
}
export {};
