/// <reference types="node" />
export interface StringComparisonOptions {
    caseSensitive?: boolean;
    removeDiacritics?: boolean;
    collapseWhitespace?: boolean;
    onlyAlphaNumeric?: boolean;
}
export declare function shortId(): string;
export declare function getType(data: any): string;
export declare function checkType(data: any, expectedType: string | string[], variableName?: string): void;
export declare function deepClone<T>(data: T): T;
export declare function groupBy<T, K>(items: T[], fn: (item: T, index: number) => K): Array<[K, T[]]>;
export declare function sortBy<T, K>(items: T[], fn: (item: T) => K): T[];
export declare function cloneWithNewIds<T>(obj: T): T;
export declare function cloneWithoutIdsCollision<T>(obj: T, existingIds: Set<string> | Map<string, any>): T;
export declare function anyEquals(a: any, b: any, options?: StringComparisonOptions): boolean;
export declare function anyContains(a: any, b: any, options?: StringComparisonOptions): boolean;
export declare function strContains(actual: string, pattern: any, options?: StringComparisonOptions): boolean;
export declare function strEquals(a: string, b: string, options?: StringComparisonOptions): boolean;
export declare function weakString(str: string, options?: StringComparisonOptions): string;
export declare function castToString(str: any): string;
export declare function abbr(value: any): string;
export declare function humanize(str: string): string;
export declare function capitalize(str: string): string;
export declare function capitalizeWords(str: string): string;
export declare function normalizeString(str: string): string;
export declare function streamToBuffer(readable: any): Promise<Buffer>;
export declare function convertObjectPointers(object: any): any;
export declare function getConstant(dataType: 'string' | 'boolean' | 'number', value: string): string | number | boolean | undefined;
//# sourceMappingURL=data.d.ts.map