///
export declare const useCompScenePlugin: ({ setVisible, visible, setActiveKey, activeKey, }: {
setActiveKey: (key: string) => void;
activeKey?: string | undefined;
setVisible: (vis: boolean) => void;
visible: boolean;
}) => {
defaultActiveKey: string | undefined;
title: string | undefined;
panelList: import("../../type").CompScenePanelType[];
plugins: {
meta: {
createCompWithDSLNode: (attr: {
type: string;
platform: "h5" | "pc";
props?: Record | undefined;
style?: import("react").CSSProperties | Record | undefined;
customStyle?: import("react").CSSProperties | Record | undefined;
events?: any[] | undefined;
attribute?: Record | undefined;
id?: string | undefined;
}, context: {
parentNode: import("@lingxiteam/dsl/lib/core/node/Node").default | import("@lingxiteam/dsl/lib/core/node/RootNode").default; /** ****** 配置订阅方法 ********* */
dslQuery: import("@lingxiteam/dsl/lib/core/DSLQuery").DSLQuery;
}) => import("@lingxiteam/dsl/lib/core/node/Node").default | null | undefined;
createActionData: (options: import("../../../PageZone/hooks/useCreateActionData").ActionDataOptionsType, currData?: any) => any;
api: {} | undefined;
customComponent: {} | undefined;
condition: {} | undefined;
config: any;
};
panel: {
onFinishHandle: () => Promise;
goNextHandle: () => void;
goPreHandle: () => void;
isFirstPanel: boolean;
isLastPanel: boolean;
activeIndex: number;
onCloseHandle: () => void;
};
};
modalWidth: string | undefined;
loading: boolean;
getSubscription: (key: string) => {};
wrapRef: any;
};
declare type FunctionInfer = T extends (...args: any[]) => {
plugins: infer P;
} ? P : never;
export declare type UserPlugins = FunctionInfer;
export {};