import { Options } from "../interface/component";
import { DTModel } from "../interface/model";
import { UnitySocket } from "./socket";
import { DTVector3 } from "../interface/model";
export type UpdateModelParams = {
    /** 模型坐标 */
    position?: DTVector3;
    /** 模型缩放 */
    scale?: DTVector3;
    /** 模型旋转角 */
    rotation?: DTVector3 & {
        order: string;
    };
    /** 模型移动时间，单位：秒 */
    duration?: number;
    /** 模型移动速度，单位：米/秒 */
    moveSpeed?: number;
};
export type UnityModel = DTModel & {
    update: (params: UpdateModelParams) => Promise<void>;
};
export default function createUnityModelCreator(socket: UnitySocket): (list: Options[], modelMapping?: Map<string, UnityModel>) => Promise<Map<string, UnityModel>>;
