declare class Listore extends Array { readonly columns: Array<(keyof T)>; constructor(columns: Array<(keyof T)>, records?: Array); toObjects(): T[]; toJSON(): string; toCSV(): string; toHTMLTable(direction?: 'tb' | 'lr'): string; static importObjects(objects: object[]): any[][]; static fromObjects(columns: Array<(keyof T)>, objects: object[]): Listore; importObjects(objects: object[]): void; fromObjects(objects: object[]): void; static importCSV(csvNoHeader: string): any[][]; /** * omit header line when includeHeader set to true */ importCSV(csv: string, includeHeader?: boolean): void; fromCSV(csv: string, includeHeader?: boolean): void; static fromCSV(csv: string, header?: string[]): Listore<{ [x: string]: {}; }>; static fromHTMLTableElement(htmlTableElement: HTMLTableElement, strategy?: 'innerHTML' | 'innerText' | 'textContent'): Listore<{ [x: string]: {}; }>; } export { Listore };