import type { GraphApi } from '@astrale-os/sdk/client'; import type { GraphStore as GraphStoreValue } from '@astrale-os/sdk/client/store'; import type { Shell } from '@astrale-os/shell'; interface StoreEntry { readonly shell: Shell; readonly graph: GraphApi; readonly scope: string; readonly store: GraphStoreValue; readonly owned: boolean; retained: number; generation: number; } /** Authority/schema identity. Session ids and Publication ETags are deliberately absent. */ export interface GraphStoreScope { readonly authority: string; readonly schemaRevision: string; } type StoreIdentity = Awaited>; export declare function resolveGraphStoreScope(shell: Shell, knownIdentity?: StoreIdentity | null): Promise; export declare function storeFor(shell: Shell, scope: GraphStoreScope): StoreEntry; export declare function retainStore(entry: StoreEntry): () => void; /** The exact caller/schema-scoped GraphStore for the current View subtree. */ export declare function useGraphStore(): GraphStoreValue; export {}; //# sourceMappingURL=store.d.ts.map