import type { Logger } from './types'; export type NicknameAddResult = { status: 'added'; } | { status: 'exists'; } | { status: 'too_short'; } | { status: 'reserved'; } | { status: 'cap'; } | { status: 'persist_failed'; }; export type NicknameRemoveResult = { status: 'removed'; } | { status: 'not_found'; } | { status: 'persist_failed'; }; export interface NicknameStore { list(): string[]; matches(text: string): boolean; add(name: string): NicknameAddResult; remove(name: string): NicknameRemoveResult; } export declare function createNicknameStore(filePath: string, logger?: Logger | null): NicknameStore; //# sourceMappingURL=nickname-store.d.ts.map