import { WorkspaceSummary } from "../../types/hub.mjs"; import { Store } from "@tanstack/store"; //#region src/web/stores/workspacesStore.d.ts export interface WorkspacesState { order: string[]; byId: Record; selectedId: string | null; hydrated: boolean; } export declare const workspacesStore: Store; /** Display names supplied by each browser host's composition root. IDs still own routing. */ export declare const workspaceHostLabelsStore: Store>, never>; export declare function setWorkspaceHostLabel(hostId: string, label: string | undefined): void; /** A host-less frame belongs to the default host: the local hub, or a Worker shell's only host. */ export declare function applyWorkspacesSnapshot(frame: Record, hostId?: string | undefined): void; export declare function applyWorkspaceUpsert(frame: Record, hostId?: string | undefined): void; export declare function applyWorkspaceRemoved(frame: Record, hostId?: string | undefined): void; export declare function selectWorkspace(workspaceId: string | null): void; export declare function resetWorkspaces(): void; //#endregion //# sourceMappingURL=workspacesStore.d.mts.map