UNPKG

@nickbusey/thelounge

Version:

The self-hosted Web IRC client

18 lines (17 loc) 476 B
declare type PrefixSymbol = string; declare type PrefixObject = { symbol: PrefixSymbol; mode: string; }; declare class Prefix { prefix: PrefixObject[]; modeToSymbol: { [mode: string]: string; }; symbols: string[]; constructor(prefix: PrefixObject[]); _update_internals(): void; update(prefix: PrefixObject[]): void; forEach(f: (value: PrefixObject, index: number, array: PrefixObject[]) => void): void; } export default Prefix;