/** Group 内部运行时:连接 Group 与 City 提供的底层 Storage。 */ import type { Group } from "../group/Group.js"; import type { GroupSessionStore } from "../types/group/GroupSessionStore.js"; import type { StorageProvider } from "@downcity/workspace"; /** 初始化 Group 内部运行时,并默认使用内存 Storage。 */ export declare function initialize_group_runtime(group: Group): void; /** 将 City 提供的 Storage 绑定到 Group。 */ export declare function attach_group_storage(group: Group, storage_provider: StorageProvider, owner?: object): void; /** 解除 Group 与 City Storage 的绑定,允许主体重新装配到其他 City。 */ export declare function detach_group_storage(group: Group, owner?: object): Promise; /** 获取 Group 的 GroupSession 持久化 Store。 */ export declare function get_group_session_store(group: Group): GroupSessionStore; /** 标记 Group 已经创建或恢复过一个 GroupSession。 */ export declare function mark_group_session_started(group: Group): void; /** 释放 Group 的 Store 运行时引用。 */ export declare function dispose_group_runtime(group: Group): Promise; //# sourceMappingURL=GroupRuntime.d.ts.map