export declare const arrayDuplicates: <T>(list: T[]) => T[];
export declare const sortArray: <S extends Record<string, any>>(list: S[], order: Record<string, any>, property: string) => S[];
export declare const formatList: (items: string[], separator?: string, lastSeparator?: string) => string;
export type NonEmptyArray<T> = [T, ...T[]];
