import { Vector3 } from "three";
import { Database } from "../DatabaseServices/Database";
import { PhysicalMaterialRecord } from "../DatabaseServices/PhysicalMaterialRecord";
import { Polyline } from "../DatabaseServices/Entity/Polyline";
import { TemplateRecord } from "../DatabaseServices/Template/TemplateRecord";
import { TemplateParam } from "../DatabaseServices/Template/Param/TemplateParam";
import { Entity } from "../DatabaseServices/Entity/Entity";
import { ExtrudeHole } from "../DatabaseServices/3DSolid/ExtrudeHole";
export declare function MaterialOut(material: PhysicalMaterialRecord): string;
export declare function MaterialIn(fileData: Object[]): PhysicalMaterialRecord;
export declare function TemplateOut(template: TemplateRecord, tempDb?: Database): string;
export declare function TemplateIn(fileData: Object[]): TemplateRecord;
export declare function TemplateParamsOut(params: TemplateParam[]): string;
export declare function TemplateParamsIn(paramsData: Object[][]): TemplateParam[];
/**反序列化材质并加入图纸*/
export declare function MaterialInAndAppendAppData(fileData: Object[], name?: string): PhysicalMaterialRecord;
export declare function deflate(data: string): string;
export declare function inflate(base64: string): string;
export declare function dataURItoBlob(dataURI: string): Blob;
export declare function toplineFileIn(json: string): Polyline;
export declare function getPolylineSVG(en: Polyline): string;
/**
 * 获取当前图纸的缩略图(预览图)
 */
export declare function GetCurrentViewPreViewImage(restore?: boolean, isBase64?: boolean): Blob | string;
export declare function ExtrudeDrillFileIn(data: any[]): ExtrudeHole;
export declare function GetEntitysLogo(ens: Entity[], isConceptual?: boolean, dir?: Vector3, isBase64?: boolean): Promise<string | Blob>;
export declare function GroupOut(ens: Entity[]): string;
export declare function GroupFileIn(fileData: Object[]): Entity[];
export declare function EntitysOut(ens: Entity[], callback?: (en: any) => void): string;
export declare function EntitysIn(datalist: any[]): Entity[];
//# sourceMappingURL=SerializeMaterial.d.ts.map