export default function generateCSV(records: any): any;