import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import { CookieService } from 'ngx-cookie-service';
import { LocaleOptions } from './options/index';
import 'moment/locale/es';
import 'moment/locale/pt-br';
import * as i0 from "@angular/core";
export declare class LocaleService {
    private readonly http;
    private readonly cookieService;
    private locale?;
    private localeOptions?;
    private readonly localeOptionsAddress;
    private readonly localeOptionsVersion;
    private readonly VALID_MOMENT_LANGUAGES;
    constructor(http: HttpClient, cookieService: CookieService);
    get(): Observable<LocaleOptions>;
    getLocale(): Observable<string>;
    /**
     * Returns an object with the locale options based on the user's locale(platform locale).
     * @return The locale options object.
     */
    getLocaleOptions(): LocaleOptions | undefined;
    private getUserData;
    /**
     * Set valid locale for moment js locale based on user current locale.
     * Sometimes the locale from user not exists in locale of moment, for example, is valid user with language 'es-CO' but for the momentjs the locale 'es-CO' not exist, so with this function will be applied the 'es' locale.
     * @param userLocale
     * @returns valid locale based in user locale.
     */
    private parseUserLocaleToMoment;
    private getLocaleConfig;
    getGroupingSeparator(): string | undefined;
    getDecimalSeparator(): string | undefined;
    static ɵfac: i0.ɵɵFactoryDeclaration<LocaleService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<LocaleService>;
}
