import { L10nLocale } from '../models/types'; import * as i0 from "@angular/core"; /** * Implement this class-interface to create a storage for the locale. */ export declare abstract class L10nStorage { /** * This method must contain the logic to read the storage. * @return A promise with the value of the locale */ abstract read(): Promise; /** * This method must contain the logic to write the storage. * @param locale The current locale */ abstract write(locale: L10nLocale): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class L10nDefaultStorage implements L10nStorage { read(): Promise; write(locale: L10nLocale): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }