import { ActionReducer, Action } from '../ngrx_kit';
import { CoreState } from '@eui/base';
/**
 * Utility meta-reducer to load the state from the local storage
 * @param platformId the platformId based on PLATFORM_ID token of Angular
 * @deprecated it will be removed in the next major version
 */
export declare function localStorageSync<S extends CoreState>(platformId: unknown): ((reducer: ActionReducer<S>) => (state: S, action: Action) => S);
/**
 * Utility meta-reducer to load the state from the local storage
 * @param reducer the action reducer
 */
export declare function localStorageSync<S extends CoreState>(reducer: ActionReducer<S>): (state: S, action: Action) => S;
/**
 * Utility meta-reducer to load the state from the session storage
 * @param platformId the platformId based on PLATFORM_ID token of Angular
 * @deprecated it will be removed in the next major version
 */
export declare function sessionStorageSync<S extends CoreState>(platformId: unknown): ((reducer: ActionReducer<S>) => (state: S, action: Action) => S);
/**
 * Utility meta-reducer to load the state from the session storage
 * @param reducer the action reducer
 * @deprecated it will be removed in the next major version
 */
export declare function sessionStorageSync<S extends CoreState>(reducer: ActionReducer<S>): (state: S, action: Action) => S;
/**
 *
 * @param storage Type of storage to load the state from
 * @deprecated it will be removed in the next major version
 */
export declare const loadState: <S extends CoreState>(storage?: Storage | null) => S;
//# sourceMappingURL=meta.reducers.d.ts.map