import { ErrorType } from "../errors/utils.js"; //#region src/utils/withTimeout.d.ts type WithTimeoutErrorType = ErrorType; declare function withTimeout(fn: ({ signal }: { signal: AbortController["signal"] | null; }) => Promise, { errorInstance, timeout, signal }: { errorInstance?: Error | undefined; timeout: number; signal?: boolean | undefined; }): Promise; //#endregion export { WithTimeoutErrorType, withTimeout }; //# sourceMappingURL=withTimeout.d.ts.map