import { Connection } from "./connection"; export interface CollectionParams { offset?: number; limit?: number; order?: string; } export declare class ImportAndExport { protected _connection: Connection; protected collectionName: string; constructor(connection: Connection, collectionName: string); setResultListener(callback: ((res: any) => void) | undefined): void; exportDataByQuery(query: string, bindVars?: Record): Promise; exportDataByCollectionName(params?: CollectionParams): Promise; importDocuments(data: Array>, showErrors: boolean | undefined, primaryKey: string, replace?: boolean): Promise; } //# sourceMappingURL=importandexport.d.ts.map