import * as i0 from "@angular/core"; import { Signal } from "@angular/core"; type SpecificKeysOfObj = { [P in keyof T]: T[P]; }; type SpecificKeysOfObjAsSignals = { [P in keyof T]: Signal; }; export declare class SignalStore> { private readonly notInitializedError; private signals; /** * Initializes the state with default values */ protected initialize

(state: T): void; /** * Selects a single piece of the state as a Signal and optionally maps it to a new signal * @param key: The key we want to use to extract a piece of state as a signal * @param cb: (Optional) The callback function that will map to the computed signal */ select(key: K): Signal; select(key: K, cb: (state: T[K]) => P): Signal

; /** * Selects multiple pieces of the state as a computed Signal and optionally maps it to a new signal * @param keys: The keys we want to use to extract pieces of state as a signal * @param cb: (Optional) The callback function that will map to the computed signal */ selectMany(keys: (keyof T)[]): Signal>; selectMany

(keys: (keyof T)[], cb: (obj: SpecificKeysOfObj) => P): Signal

; /** * This method is ideal to pick pieces of state from somewhere else * It will return an obje ct that contains properties as signals. * Used best in combination with the connect method * @param keys: The keys that are related to the pieces of state we want to pick */ pick(keys: (keyof T)[]): SpecificKeysOfObjAsSignals; /** * Connects a partial state object where every property is a signal. * It will connect all theses signals to the state * This will automatically feed the state whenever one of the signals changes * It will use an Angular effect to calculate it * @param object: The object holding the signals where we want to listen to */ protected connect(object: Partial<{ [P in keyof T]: Signal; }>): void; /** * Patches the state with a partial object. * This will loop through all the state signals and update * them one by one */ protected patch

(object: Partial): void; /** * Returns the state as a signal */ state: Signal; /** * Returns the current state without registering reactive dependencies. * Use state, select, or selectMany for reactive reads. */ get snapshot(): T; private readState; private throwOrReturnSignals; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare abstract class AbstractSearchFilterState> extends SignalStore { private sessionStorage; abstract readonly sessionStorageKey: string; abstract getDefaultValues(): TStateModel; protected constructor(); saveSearchFilters(key: TKey, value: TStateModel[TKey]): void; private loadInitialState; clearState(): void; }