import { U27N } from "./controller.js"; import { Formatters, InterpolationFields } from "./interpolation.js"; export declare class Context { readonly controller: U27N; readonly namespace: string; readonly sourceLocale: string; constructor(controller: U27N, namespace: string, sourceLocale: string); t(value: string, id: string): string; t(value: string, options: Context.TInterpolationOptions, id: string): string; t(value: string[], options: Context.TPluralOptions & Context.TInterpolationOptions, id: string): string; } export declare namespace Context { type T = typeof Context.prototype.t; interface TPluralOptions { count: number; } interface TInterpolationOptions { fields?: InterpolationFields; formatters?: Formatters; } }