UNPKG

kepler.gl

Version:

kepler.gl is a webgl based application to visualize large scale location data in the browser

22 lines (21 loc) 612 B
import { Field } from '@kepler.gl/types'; import { Datasets } from '@kepler.gl/table'; import { DataContainerInterface } from '@kepler.gl/utils'; interface StateType { visState: { datasets: Datasets; }; appName?: string; } export declare function exportData(state: StateType, options: any): void; /** * On export data to csv * @param dataContainer * @param fields `dataset.fields` * @returns csv string */ export declare function formatCsv(data: DataContainerInterface, fields: Field[]): string; declare const exporters: { exportData: typeof exportData; }; export default exporters;