import { Readable, Writable } from 'stream'; /** * Name of the top-level, unencrypted but signed manifest that declares the * KTP server version the package requires. */ export declare const REQUIRED_SERVER_VERSION_FILENAME = "required-server-version.json"; export interface ExamFile { /** A relative filename (e.g. "foo.mp3"). This should be the same filename than in the exam XML. */ filename: string; /** A ReadableStream of the file contents */ contents: Readable; } export interface AttachmentFile extends ExamFile { /** Whether this attachment is restricted or not. */ restricted: boolean; } export declare function createMex(xml: string, attachments: AttachmentFile[], nsaScripts: Readable | null, securityCodes: Readable | null, passphrase: string, answersPrivateKey: string, outputStream: Writable, json?: Buffer | null, ktpUpdate?: Readable, koeUpdate?: Readable, requiredServerVersion?: string): Promise; export declare function createMultiMex(exams: ExamFile[], nsaScripts: Readable, securityCodes: Readable, passphrase: string, answersPrivateKey: string, outputStream: Writable, loadSimulationConfiguration?: Readable, ktpUpdate?: Readable, koeUpdate?: Readable, requiredServerVersion?: string): Promise; //# sourceMappingURL=createMex.d.ts.map