import { PisellCore } from '../types';
export declare class BaseModule {
    protected defaultName: string;
    protected defaultVersion: string;
    name: string;
    version: string;
    isSolution: boolean;
    protected core: PisellCore;
    constructor(name?: string, version?: string);
    destroy(): void;
    checkSaveCache({ cacheId, fatherModule, store, cacheKey, }: {
        cacheId: string | undefined;
        fatherModule: string | undefined;
        store: any;
        cacheKey: string[];
    }): void;
    effectsOn(eventType: string, callback: (payload: any) => void, force?: boolean): void;
    effectsOff(eventType: string, callback: (payload: any) => void): void;
    effectsOnce(eventType: string, callback: (payload: any) => void, force?: boolean): void;
    effectsEmit(eventType: string, payload: any): Promise<{
        status: boolean;
        data: any;
    }>;
}
