import { Subscription } from 'rxjs'; export declare class Fcomponent { fcRef: any; fcId: string; fcUuid: string; pId: string; appId: string; data: any; unsubscribes: any[]; /** * 带注销的订阅事件 * @param subscribe 待注销 */ pushDestroy(subscribe: Subscription): void; /** * 取消事件订阅 */ ngOnDestroy(): void; /** * 关闭或离开时调用,当返回true可以关闭,否则不能关闭当前页面 */ canClosed(context: any): boolean; /** * 初始化对象内容 * @param data 返回某个地址不一样的数据 */ setData(data: any): any; }