import type { PlanOrigin } from "@xgjktech/xg-openclaw-shared"; /** 与 xg-harness-tools 的 ActionDispatchEvent 保持兼容。 * * shared 包 0.2.2 尚未导出 action store;因此这里仅实现 IM 所需的只读 get, * 直接读取同一个 SQLite 文件的 actions.doc JSON,绝不创建表或写库。 */ export interface ActionDispatchEvent { eventId: string; event: "action_dispatch"; action: string; topic?: string; target: string; version: number; status: "completed" | "running" | "pending" | "failed"; scopeControl?: { activeSessionOnly?: boolean; }; payload: { data: Record; }; timestamp: string; origin?: PlanOrigin; } export declare function setActionStateDir(dir: string): void; /** 按 eventId 反查权威 action。缺库、旧库、畸形数据和读取异常均降级为 undefined。 */ export declare function getActionById(eventId: string): ActionDispatchEvent | undefined; //# sourceMappingURL=action-store-access.d.ts.map