export type LangType = 'en' | 'es';
export interface ILang {
    /**
     * Get translate string by key identifier
     *
     * @param key translate string identifier
     * @param replace replace strings begins with `:`
     */
    (key: string, replace?: object): string | null;
    /**
     * Set global locale
     *
     * @param locale
     */
    set(locale: LangType): void;
    /**
     * Get translate string by key identifier
     *
     * @param key translate string identifier
     * @param replace replace strings begins with `:`
     */
    get(key: string, replace?: object): string | null;
}
export declare class LangService {
    private _;
    /**
     * Global locale
     */
    static locale: LangType | string;
    /**
     * Init service
     *
     * @param _ Locale strings collection
     */
    private constructor();
    /**
     * Set global locale
     *
     * @param locale
     */
    set(locale: LangType | string): void;
    /**
     * Get translate string by key identifier
     *
     * @param key
     * @param replace
     * @returns
     */
    get(key: string, replace?: object): string | null;
    /**
     * Create service
     *
     * @returns
     */
    static create(): ILang;
}
export declare const Lang: ILang;
