import { type ActMaster, type ActMasterOptions } from '../act-master'; import { type RefSubscriptionFunction } from './composable'; export { ActInProgress, ActSubscribe } from './decorators'; /** * Declaration vue2 * */ declare module 'vue/types/vue' { interface Vue { $act: ActMaster; } interface VueConstructor { act: ActMaster; } } /** * Declaration vue3 * */ declare module '@vue/runtime-core' { interface ComponentCustomProperties { $act: ActMaster; } } export declare class VueActMaster { static actMaster: ActMaster | null; static app: any | null; static setActMaster(actMaster: ActMaster): void; constructor(actMaster?: ActMaster); static install(app: any, options?: ActMasterOptions): void; install(vue: any, options?: ActMasterOptions): void; } export type { RefSubscriptionFunction, ActMasterOptions, ActMaster }; export declare const useRefSubscription: RefSubscriptionFunction; export declare const useAutoUnsubscribe: (key?: string) => void;