import { FilterFunction } from 'stream-json/filters/FilterBase';
/**
 * read json file content and parse it into array
 * use this method for large files instead of JSON.parse is more efficient
 * @param filePath the file location
 * @param listener callback to execute it while read and parse the json objects
 * @param path json array path in the file
 */
export declare const readDataFromFile: <T>(filePath: string, listener: (chunk: T) => void, path?: string | RegExp, ignorePath?: string | RegExp | FilterFunction, transforms?: any[]) => Promise<any>;
export declare const sortBy: <T>(list: T[], key: keyof T) => T[];
