import { ComponentSchema, FormFieldWithFile } from '../DocumentEditor/component-blocks/api'; import { FormatInfo } from './path-utils'; export type RequiredFile = { path: (string | number)[]; schema: FormFieldWithFile; files: string[]; }; export declare function getRequiredFiles(value: unknown, schema: ComponentSchema): RequiredFile[]; export declare function parseSerializedFormField(value: unknown, file: RequiredFile, loadedBinaryFiles: Map, mode: 'read' | 'edit'): unknown; export declare function loadDataFile(data: Uint8Array, formatInfo: FormatInfo): { loaded: any; extraFakeFile?: undefined; } | { loaded: any; extraFakeFile: { path: string; contents: Uint8Array; }; };