import { Key } from '../Key.js'; import type { TungstenBaseStoreComponent } from '../Components.jsx'; import { ServerDataLoading } from './ServerDataLoading.js'; import { SubscribedElements } from './StoreSubscriptions.types.js'; export declare class StoreValueServer { #private; constructor(key: Key, value: T, subscribedElements: SubscribedElements, serverDataLoading: ServerDataLoading); readonly get: () => T; readonly set: (newValue: T) => void; readonly subscribe: (element: TungstenBaseStoreComponent) => void; readonly unsubscribe: (element: TungstenBaseStoreComponent) => void; readonly sync: (element: TungstenBaseStoreComponent) => T; } export declare class StoreValue { #private; constructor(key: Key, value: T, subscribedElements: SubscribedElements); readonly get: () => T; readonly set: (newValue: T) => void; readonly subscribe: (element: TungstenBaseStoreComponent) => void; readonly unsubscribe: (element: TungstenBaseStoreComponent) => void; readonly sync: (element: TungstenBaseStoreComponent) => T; } export type TrueStore = { [Property in keyof Schema]: { readonly get: () => Schema[Property]; readonly set: (value: Schema[Property]) => void; readonly subscribe: (element: TungstenBaseStoreComponent) => void; readonly unsubscribe: (element: TungstenBaseStoreComponent) => void; readonly sync: (element: TungstenBaseStoreComponent) => Schema[Property]; }; }; export declare function makeStore(schema: Schema, subscribedElements: SubscribedElements, serverDataLoading?: ServerDataLoading | null): TrueStore; //# sourceMappingURL=makeStore.d.ts.map