UNPKG

377 BTypeScriptView Raw
1/**
2 * Event name formatter
3 */
4export declare class EventFormatter {
5 private namespace;
6 /**
7 * Create a new class instance.
8 */
9 constructor(namespace: string | boolean);
10 /**
11 * Format the given event name.
12 */
13 format(event: string): string;
14 /**
15 * Set the event namespace.
16 */
17 setNamespace(value: string | boolean): void;
18}