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