///
import { Readable } from 'stream';
import { IDict } from './common';
export declare function importSchema(source?: string | File, schema?: IDict | File): Promise<{
columns: IDict[];
metadata: {};
}>;
export declare function exportSchema(columns: IDict[], metadata: IDict): {
fields: any[];
};
export declare function getFieldTypes(): string[];
export declare function getFieldFormats(type: string): string[];
export declare function createColumn(index: number, field?: IDict, values?: any[]): {
id: string;
field: {
name: any;
type: any;
format: any;
};
values: any[];
};
export declare function prepareTableSource(source?: string | File): Promise Readable)>;
export declare function prepareTableOptions(schema?: IDict | File): Promise<{
schema?: undefined;
} | {
schema: any;
}>;
export declare function readFile(file: File): Promise;