import { DataMapper } from '../../collections'; import { LoggerService } from '../../logger'; import { DirectusUnknownType } from '../../interfaces'; import { SchemaClient } from '../global'; import { SeedIdMapperClientFactory } from '../global'; import { SeedMeta } from '../interfaces'; export declare class SeedDataMapper extends DataMapper { protected readonly loggerService: LoggerService; protected readonly collection: string; protected readonly meta: SeedMeta | undefined; protected readonly schemaClient: SchemaClient; protected readonly idMapperClientFactory: SeedIdMapperClientFactory; /** * Indicates if the data mapper has been initialized */ protected initialized: boolean; constructor(loggerService: LoggerService, collection: string, meta: SeedMeta | undefined, schemaClient: SchemaClient, idMapperClientFactory: SeedIdMapperClientFactory); /** * Initialize the id mappers by getting the relation fields from the snapshot * and creating a new SeedIdMapperClient for each relation */ initialize(): Promise; }