type EffectCallback = (payload: any) => void | Promise<void | {
    status: boolean;
    message?: string;
}>;
type UnsubscribeFunction = () => void;
declare class EffectsManager {
    private listeners;
    on(event: string, callback: EffectCallback): UnsubscribeFunction;
    only(event: string, callback: EffectCallback): UnsubscribeFunction;
    off(event: string, callback: EffectCallback): void;
    offByModuleDestroy(module: string): void;
    once(event: string, callback: EffectCallback): UnsubscribeFunction;
    emit(event: string, payload: any): Promise<{
        status: boolean;
        data: any;
    }>;
    clear(): void;
}
export { EffectsManager, UnsubscribeFunction };
