import { type CreatedBy } from "../../../../../lib/graph-write/dist/index.js"; import { type ScheduleAttendee, type ScheduleLabel } from "../lib/schedule-classify.js"; import { type AgentChannel } from "../lib/agent-dispatch.js"; export interface EventAction { plugin: string; tool: string; args?: Record; } export interface AgentDispatch { channel: AgentChannel; destination: string; prompt: string; } export interface ScheduleEventParams { accountId: string; name: string; description?: string; startDate: string; endDate?: string; location?: string; recurrence?: string; timezone?: string; sessionKey?: string; action?: EventAction; agentDispatch?: AgentDispatch; attendees?: ScheduleAttendee[]; createdBy: CreatedBy; } export interface ScheduleEventResult { label: ScheduleLabel; /** Set when the write landed as an :Event. */ eventId?: string; /** Set when the write landed as a :Meeting (the node elementId). */ meetingId?: string; /** The (accountId, uid) idempotency key, set on a :Meeting write. */ uid?: string; nextRun?: string; /** Counterparties linked via (:Person)-[:ATTENDED]->(:Meeting). */ attendeesLinked?: number; } export declare function scheduleEvent(params: ScheduleEventParams): Promise; //# sourceMappingURL=schedule-event.d.ts.map