export declare const noUndefinedVals: (obj: Record) => Record; export declare function aggregateErrors(errors: unknown[], message?: string): Error | AggregateError; /** * Returns a shallow copy of the object without the specified keys. If the input * is nullish, it returns the input. */ export declare function omit, K extends keyof NonNullable>(object: T, rejectedKeys: readonly K[]): T extends undefined ? undefined : T extends null ? null : Omit; export declare const jitter: (maxMs: number) => number; export declare const wait: (ms: number) => Promise; export type BailableWait = { bail: () => void; wait: () => Promise; }; export declare const bailableWait: (ms: number) => BailableWait; export declare const flattenUint8Arrays: (arrs: Uint8Array[]) => Uint8Array; export declare const streamToBuffer: (stream: AsyncIterable) => Promise; export declare const s32encode: (i: number) => string; export declare const s32decode: (s: string) => number; export declare const asyncFilter: (arr: T[], fn: (t: T) => Promise) => Promise; export declare const isErrnoException: (err: unknown) => err is NodeJS.ErrnoException; export declare const errHasMsg: (err: unknown, msg: string) => boolean; export declare const chunkArray: (arr: T[], chunkSize: number) => T[][]; export declare const range: (num: number) => number[]; export declare const dedupeStrs: (strs: Iterable) => T[]; export declare const parseIntWithFallback: (value: string | undefined, fallback: T) => number | T; //# sourceMappingURL=util.d.ts.map