import * as S from 'ufc-schema'; export declare class Event extends S.BaseEntity { type: string; message: T; constructor(data?: Partial); } declare global { interface Window { runtimeEngine: { type: 'electron'; callMain: (e: { type: string; message: string; }) => Promise; }; } } /** 判断是否运行在 UFCON 环境内 */ export declare function isUfcon(): { type: "electron"; callMain: (e: { type: string; message: string; }) => Promise; }; /** 调用远端函数 */ export declare function sendIpcEvent(e?: S.IpcEvent): Promise;