export type MaybePromise = T | Promise; /** Chain sync and async values without deferring synchronous work to a microtask. */ export declare const continueWith: (result: MaybePromise, callback: (value: T) => MaybePromise) => MaybePromise;