/**
 * Async await wrapper for easy error handling
 *
 *
 * @deprecated This function will be removed in the next major release. Use async / await with try / catch instead.
 */
declare const to: (promise: Promise<unknown>, errorExt?: object) => Promise<any[] | unknown[]>;
export { to };
//# sourceMappingURL=awaitToJs.d.ts.map