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