export interface IWasmModule {
    preRun: any[];
    postRun: any[];
    HEAPU8: any;
    getValue: (ptr: number, type: string) => number;
    setValue: (ptr: number, value: number, type: string) => any;
    stringToNewUTF8: (str: string) => number;
    UTF8ToString: (ptr: number) => string;
    _malloc: (v: number) => number;
    _free: (ptr: number) => any;
    _init_random: (p: number) => any;
    _server_version: () => number;
    _open_document: (pDataComb: number, password: number) => boolean;
    _close_document: () => any;
    _is_uploaded_file: (pFileID: number) => boolean;
    _upload_file: (pFileID: number, pFileData: number, lenFileData: number) => any;
    _modify: (pJsonDocModify: number) => any;
    _set_save_settings: (pJsonSaveSettings: number) => any;
    _download_modified: (pTime: number) => number;
    _download_png_pages: (pTime: number) => number;
    _download_svg_pages: (pTime: number) => number;
    _clear_image_pages: () => any;
    _download_unmodified: () => number;
    _free_globals: () => any;
    _extract_table_data: (pJsonExtractSettings: number) => number;
    writeTime: (p: number) => any;
}
