smartcsv/dist/index.d.ts

17 lines
502 B
TypeScript
Raw Normal View History

export interface ICsvConstructorOptions {
headers: boolean;
}
2018-05-10 17:47:14 +00:00
export declare class Csv {
static createCsvFromString(csvStringArg: string, options: ICsvConstructorOptions): Promise<Csv>;
2018-05-10 17:47:14 +00:00
csvString: string;
headers: string[];
keyFrame: string;
options: ICsvConstructorOptions;
determineKeyframe(): void;
serializeCsvString(): any[];
getRows(): string[];
getHeaders(): string[];
createDataObject(dataArray: string[]): any;
exportAsObject(): Promise<any>;
2018-05-10 17:47:14 +00:00
}