/// import { Knex } from 'knex'; import { AbstractServiceOptions } from '../types'; import { Accountability, SchemaOverview } from '@directus/shared/types'; export declare class ImportService { knex: Knex; accountability: Accountability | null; schema: SchemaOverview; constructor(options: AbstractServiceOptions); import(collection: string, mimetype: string, stream: NodeJS.ReadableStream): Promise; importJSON(collection: string, stream: NodeJS.ReadableStream): Promise; importCSV(collection: string, stream: NodeJS.ReadableStream): Promise; }