import type { AgentTool } from "@earendil-works/pi-agent-core"; import type { ConversationKind } from "../adapter.js"; declare const eventSchema: import("@sinclair/typebox").TObject<{ action: import("@sinclair/typebox").TOptional, import("@sinclair/typebox").TLiteral<"list">, import("@sinclair/typebox").TLiteral<"read">, import("@sinclair/typebox").TLiteral<"update">, import("@sinclair/typebox").TLiteral<"delete">]>>; filename: import("@sinclair/typebox").TOptional; scope: import("@sinclair/typebox").TOptional, import("@sinclair/typebox").TLiteral<"all">]>>; label: import("@sinclair/typebox").TOptional; type: import("@sinclair/typebox").TOptional, import("@sinclair/typebox").TLiteral<"one-shot">, import("@sinclair/typebox").TLiteral<"periodic">]>>; text: import("@sinclair/typebox").TOptional; at: import("@sinclair/typebox").TOptional; schedule: import("@sinclair/typebox").TOptional; timezone: import("@sinclair/typebox").TOptional; filenamePrefix: import("@sinclair/typebox").TOptional; }>; interface EventToolContext { platform: string; conversationId: string; conversationKind: ConversationKind; userId: string; } export type { EventPayload, EventStore } from "./types.js"; import type { EventPayload, EventStore } from "./types.js"; export declare class HostEventStore implements EventStore { private readonly eventsDir; constructor(eventsDir: string); static fromWorkspaceDir(workspaceDir: string): HostEventStore; write(filename: string, payload: EventPayload): Promise<{ path: string; size: number; }>; list(): Promise>; read(filename: string): Promise<{ filename: string; payload: EventPayload; size: number; mtimeMs: number; }>; update(filename: string, payload: EventPayload): Promise<{ path: string; size: number; }>; delete(filename: string): Promise<{ deleted: boolean; }>; private writePayload; } export declare function createEventTool(eventStore: EventStore): { tool: AgentTool; setEventContext: (context: EventToolContext) => void; }; //# sourceMappingURL=event.d.ts.map