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