import { CheckedStatePath, GetStateOptions, SetStateOptions, StateChange, StateConfig, StatePath, StatePathValue, StateSubscriptionFunction, SubscribeStateOptions } from './index.js'; import { LitElementStateSubscription } from './litElementStateSubscription.js'; export declare class LitElementStateService { private static _globalInstance; config: StateConfig; private stateSubscriptions; private cacheHandlers; constructor(initialState?: State, config?: StateConfig); private _state; get state(): State; load(): Promise; static getGlobalInstance(): LitElementStateService; subscribe>(path: CheckedStatePath, subscriptionFunction: StateSubscriptionFunction>, options?: SubscribeStateOptions): LitElementStateSubscription>; private unsubscribe; get>(path: CheckedStatePath, options?: GetStateOptions): StatePathValue; /** Builds a reusable path constant with the same position-exact validation, * IDE suggestions and predicate auto-typing as the path methods — State is * inferred from this service instance. The exact tuple type is preserved, * so get()/subscribe() calls with the constant stay fully typed (a * StatePath annotation would only shape-check). */ checkPath>(path: CheckedStatePath): P; set>(statePartial: StatePathValue | StateChange>, options: SetStateOptions & { entryPath: CheckedStatePath; }): void; set(statePartial: StateChange>, options: SetStateOptions & { entryPath: StatePath; }): void; set(statePartial: StateChange>, options?: SetStateOptions): void; private checkSubscriptionChange; private getStateData; private deepReduce; } //# sourceMappingURL=litElementState.service.d.ts.map