import Slim from '@oada/types/modus/slim/v1/0.js';
import ModusResult, { assert as assertModusResult } from '@oada/types/modus/v1/modus-result.js';
import { SupportedFormats } from './fromCsvToModusV1.js';
import type { LabConfig } from './labs/index.js';
export * as slim from './slim.js';
export declare type SupportedFileType = 'xml' | 'csv' | 'xlsx' | 'json' | 'zip';
export declare const supportedFileTypes: string[];
export { Slim };
export { ModusResult, assertModusResult };
export declare type ModusJSONConversionResult = {
    original_filename: string;
    original_type: SupportedFileType;
    output_filename: string;
    modus: Slim;
};
export declare type InputFile = {
    filename: string;
    format?: 'generic';
    str?: string;
    arrbuf?: ArrayBuffer;
    base64?: string;
};
export declare function toJson(files: InputFile[] | InputFile, labConfigs?: LabConfig[]): Promise<ModusJSONConversionResult[]>;
export declare type FilenameArgs = {
    modus: Slim;
    index?: number;
    filename: string;
    type: SupportedFileType;
};
export declare function jsonFilenameFromOriginalFilename({ modus, index, filename, type, }: FilenameArgs): string;
export declare function typeFromFilename(filename: string): SupportedFileType | null;
export declare type ZipFile = {
    filename: string;
    arrbuf?: ArrayBuffer;
    base64?: string;
    format?: SupportedFormats;
};
export declare function zipParse(file: ZipFile): Promise<ModusJSONConversionResult[]>;
