2018-05-10 22:53:27 +00:00
|
|
|
export interface ICsvConstructorOptions {
|
|
|
|
headers: boolean;
|
|
|
|
}
|
2018-05-10 17:47:14 +00:00
|
|
|
export declare class Csv {
|
2018-05-10 22:53:27 +00:00
|
|
|
static createCsvFromString(csvStringArg: string, options: ICsvConstructorOptions): Promise<Csv>;
|
2018-05-10 17:47:14 +00:00
|
|
|
csvString: string;
|
2018-05-10 22:53:27 +00:00
|
|
|
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
|
|
|
}
|