import { DeepGet, DeepKeyOf, Listener } from "./types"; export declare class Base { options: Partial; static version: string; static defaults: unknown; protected events: Map>; constructor(options?: Partial); setOptions(options: Partial): void; option>(key: T, ...rest: any): Exclude, Function>; optionFor>(obj: any, key: T, fallback?: DeepGet, ...rest: any): Exclude, Function>; cn(key: string): string; localize(str: string, params?: Array<[string, any]>): string; on(what: EventsType | EventsType[] | "*", listener: Listener): void; off(what: EventsType | EventsType[] | "*", listener: Listener): void; emit(event: EventsType, ...args: any[]): void; }