import type { AgentTool } from "@earendil-works/pi-agent-core"; import { Type, type Static } from "typebox"; import type { Office } from "../../office/types.js"; declare const historySchema: Type.TObject<{ label: Type.TString; action: Type.TUnion<[Type.TLiteral<"sessions">, Type.TLiteral<"search">, Type.TLiteral<"read">, Type.TLiteral<"chat">]>; query: Type.TOptional; session: Type.TOptional; limit: Type.TOptional; skip: Type.TOptional; }>; type HistoryArgs = Omit, "label">; interface HistoryScope { office: Office; sessionKey: string; } export declare function runHistory(scope: HistoryScope, args: HistoryArgs): Promise; export declare function createHistoryTool(scope: HistoryScope): AgentTool; export {}; //# sourceMappingURL=history.d.ts.map