import type { FileLoaded } from '../commands/handler'; import { type Awaitable, BaseHandler } from '../common'; import type { LocaleString } from '../types'; type LangFileResult = { file: Record; locale: string; } | false; export declare class LangsHandler extends BaseHandler { values: Partial>; private __paths; filter: (path: string) => boolean; defaultLang?: string; preferGuildLocale: boolean; aliases: [string, LocaleString[]][]; onReload?: (locale: string, value: Record) => void; getLocale(locale: string): string; getKey(lang: string, message: string): string | undefined; get(userLocale: string): import("./router").SeyfertLocale; load(dir: string): Promise; parse(file: LangInstance): void | Promise; private applyParsedFile; set(instances: LangInstance[]): void; reload(lang: string): Promise; reloadAll(stopIfFail?: boolean): Promise; onFile(locale: string, { file, name, path }: LangInstance): Awaitable; } export type LangInstance = { name: string; file: FileLoaded>; path?: string; }; export {};