/**
 * Split an array into chunks of a specified size.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function arrayChunk<T>(arr: T[] | readonly T[], size?: number | undefined): T[][];
/**
 * Get unique values from an array.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function arrayUnique<T>(arr: T[] | readonly T[]): T[];
// IMPORTANT: Do not use destructuring here - use direct assignment instead.
// tsgo has a bug that incorrectly transpiles destructured exports, resulting in
// `exports.SomeName = void 0;` which causes runtime errors.
// See: https://github.com/SocketDev/socket-packageurl-js/issues/3
/**
 * Alias for native Array.isArray.
 * Determines whether the passed value is an array.
 */
export declare const isArray: (arg: any) => arg is any[];
/**
 * Join array elements with proper "and" conjunction formatting.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function joinAnd(arr: string[] | readonly string[]): string;
/**
 * Join array elements with proper "or" disjunction formatting.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function joinOr(arr: string[] | readonly string[]): string;
