declare const LEVELS: {
    DEBUG: number;
    INFO: number;
    WARN: number;
    ERROR: number;
};
declare type Level = keyof typeof LEVELS;
interface Event {
    level?: Level;
    action: string;
    category?: string;
    error?: Error;
    data?: Record<string, any>;
}
export interface LoggerSubscriber {
    key: string;
    level?: Level;
    onEvent: (event: Event) => void;
}
declare class Logger {
    private loggers;
    subscribe(newLogger: LoggerSubscriber): () => LoggerSubscriber[];
    unsubscribe(key: string): void;
    log(event: Event): void;
}
export declare const logger: Logger;
export {};
