import "./types/errors.js";
import { RestatePromise } from "./context.js";
import "./context_impl.js";
import "./io.js";
import { Duration } from "@restatedev/restate-sdk-core";

//#region src/promises.d.ts

/**
 * Returns `true` if the given value is a {@link RestatePromise}.
 *
 * Use this for runtime type detection when you need to distinguish Restate promises
 * from regular promises, e.g. for overload resolution.
 */
declare function isRestatePromise<T>(p: Promise<T>): p is RestatePromise<T>;
//#endregion
export { isRestatePromise };
//# sourceMappingURL=promises.d.ts.map