///
import { IExportAdapterResult } from '../export/index.js';
import { IImportSource, IImportContentType } from '../import/index.js';
import { IItemFormatService, ZipCompressionLevel, IAssetFormatService, FileBinaryData } from './file-processor.models.js';
import { IExportTransformConfig, Log } from '../core/index.js';
export declare function getFileProcessorService(log: Log): FileProcessorService;
export declare class FileProcessorService {
private readonly log;
constructor(log: Log);
parseZipAsync(data: {
items?: {
file: Buffer;
formatService: IItemFormatService;
};
assets?: {
file: Buffer;
formatService: IAssetFormatService;
};
types: IImportContentType[];
}): Promise;
parseFileAsync(data: {
items?: {
file: Buffer;
formatService: IItemFormatService;
};
assets?: {
file: Buffer;
formatService: IAssetFormatService;
};
types: IImportContentType[];
}): Promise;
createItemsZipAsync(exportData: IExportAdapterResult, config: {
transformConfig: IExportTransformConfig;
itemFormatService: IItemFormatService;
compressionLevel?: ZipCompressionLevel;
}): Promise;
createAssetsZipAsync(exportData: IExportAdapterResult, config: {
assetFormatService: IAssetFormatService;
compressionLevel?: ZipCompressionLevel;
}): Promise;
}