import { OnInit } from '@angular/core'; import { EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; export declare abstract class BaseAutoSaveDirective implements OnInit { set enableAutoSave(save: boolean); get enableAutoSave(): boolean; private _enableAutoSave; set allowNullValue(save: boolean); get allowNullValue(): boolean; private _allowNullValue; get name(): string | undefined; set name(s: string | undefined); private _enableCacheKey; set storageLocation(s: 'localStorage' | 'sessionStorage'); get storageLocation(): 'localStorage' | 'sessionStorage'; private _storageLocation; set cacheDurationInSec(i: number); get cacheDurationInSec(): number; private _cacheDurationInSec; set clearAutoSaveCache(val: boolean); get clearAutoSaveCache(): boolean; private _clearAutoSaveCache; cacheKeyPrefix: string; /** * Emits the value when a value is changed. */ updateValueFromCache: EventEmitter; get cacheKey(): string; ngOnInit(): void; protected saveValueInStorage(val: any): void; abstract updateValue(): void; protected getValueFromStorage(): any; private isCacheDataExpired; private getStorage; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }