/**
 * Gracefully handles a given Promise factory.
 * @example
 * cosnt [error, data] = await until(() => asyncAction())
 */
export declare const until: <DataType = unknown, ErrorType = Error>(promise: () => Promise<DataType>) => Promise<[ErrorType, DataType]>;
