export declare const GLOBAL_LISTENER_KEY = "*";
export declare const GENERIC_EVENT_KEY = "event";
export default class HaikuBase {
    private listeners;
    $id: any;
    config: any;
    parent: any;
    constructor();
    getId(): number;
    getRegistryIndex(): number;
    getPrimaryKey(): string;
    getClassName(): string;
    buildQualifiedCacheKey(key: string): string;
    cacheSet(key: string, value: any): void;
    cacheGet(key: string): any;
    cacheFetch(key: string, provider: Function): any;
    cacheUnset(key: string): void;
    cacheClear(): void;
    subcacheGet(key: string): any;
    subcacheEnsure(key: string): void;
    subcacheClear(key: string): void;
    on(key: string, listener: Function): void;
    addEventListener(key: string, listener: Function): void;
    off(key: string, listener: Function): void;
    removeEventListener(key: string, listener: Function): void;
    removeListener(key: string, listener: Function): void;
    emitToListeners(key: string, args: any): void;
    emitToGenericListeners(key: string, args: any): void;
    emit(key: string, ...args: any[]): void;
    emitToConfigHandlers(key: string, args: any): void;
}
