/** A PromiseLike `then` that resolves with void when the handle's `finished` does. */ export type ThenFn = (onfulfilled?: ((value: void) => TResult1 | PromiseLike) | null, onrejected?: ((reason: unknown) => TResult2 | PromiseLike) | null) => Promise; /** Build a handle's `then` from its `finished` promise (handles never reject). */ export declare const thenFinished: (finished: Promise) => ThenFn; //# sourceMappingURL=thenable.d.ts.map