/** * makePromiseKit() builds a Promise object, and returns a record * containing the promise itself, as well as separate facets for resolving * and rejecting it. * * @template T * @returns {import('./src/types.js').PromiseKit} */ export function makePromiseKit(): import("./src/types.js").PromiseKit; /** * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved * or rejected. * * Unlike `Promise.race` it cleans up after itself so a non-resolved value doesn't hold onto * the result promise. * * @template {readonly unknown[] | []} T * @param {T} values An iterable of Promises. * @returns {Promise>} A new Promise. */ export function racePromises(values: T): Promise>; export * from "./src/is-promise.js"; export * from "./src/types.js"; //# sourceMappingURL=index.d.ts.map