import { z } from 'zod'; import type { ServicialoAdapter } from '../../adapter.js'; import { ActorSchema } from '../schemas.js'; export declare const lifecycleTools: { 'lifecycle.get_state': { description: string; schema: z.ZodObject<{ session_id: z.ZodString; }, "strip", z.ZodTypeAny, { session_id: string; }, { session_id: string; }>; handler: (client: ServicialoAdapter, args: { session_id: string; }) => Promise; }; 'lifecycle.transition': { description: string; schema: z.ZodObject<{ session_id: z.ZodString; to_state: z.ZodEnum<["scheduled", "confirmed", "in_progress", "delivered", "documented", "charged", "verified", "cancelled"]>; actor: z.ZodObject<{ type: z.ZodEnum<["client", "provider", "organization", "agent"]>; id: z.ZodString; on_behalf_of: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "agent" | "client" | "provider" | "organization"; id: string; on_behalf_of?: { type: string; id: string; } | undefined; }, { type: "agent" | "client" | "provider" | "organization"; id: string; on_behalf_of?: { type: string; id: string; } | undefined; }>; reason: z.ZodOptional; evidence: z.ZodOptional>; }, "strip", z.ZodTypeAny, { actor: { type: "agent" | "client" | "provider" | "organization"; id: string; on_behalf_of?: { type: string; id: string; } | undefined; }; session_id: string; to_state: "cancelled" | "scheduled" | "confirmed" | "in_progress" | "delivered" | "documented" | "charged" | "verified"; reason?: string | undefined; evidence?: Record | undefined; }, { actor: { type: "agent" | "client" | "provider" | "organization"; id: string; on_behalf_of?: { type: string; id: string; } | undefined; }; session_id: string; to_state: "cancelled" | "scheduled" | "confirmed" | "in_progress" | "delivered" | "documented" | "charged" | "verified"; reason?: string | undefined; evidence?: Record | undefined; }>; handler: (client: ServicialoAdapter, args: { session_id: string; to_state: string; actor: z.infer; reason?: string; evidence?: Record; }) => Promise; }; 'scheduling.reschedule': { description: string; schema: z.ZodObject<{ session_id: z.ZodString; new_datetime: z.ZodString; actor: z.ZodObject<{ type: z.ZodEnum<["client", "provider", "organization", "agent"]>; id: z.ZodString; on_behalf_of: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "agent" | "client" | "provider" | "organization"; id: string; on_behalf_of?: { type: string; id: string; } | undefined; }, { type: "agent" | "client" | "provider" | "organization"; id: string; on_behalf_of?: { type: string; id: string; } | undefined; }>; }, "strip", z.ZodTypeAny, { actor: { type: "agent" | "client" | "provider" | "organization"; id: string; on_behalf_of?: { type: string; id: string; } | undefined; }; session_id: string; new_datetime: string; }, { actor: { type: "agent" | "client" | "provider" | "organization"; id: string; on_behalf_of?: { type: string; id: string; } | undefined; }; session_id: string; new_datetime: string; }>; handler: (client: ServicialoAdapter, args: { session_id: string; new_datetime: string; actor: z.infer; }) => Promise; }; 'scheduling.cancel': { description: string; schema: z.ZodObject<{ session_id: z.ZodString; reason: z.ZodOptional; actor: z.ZodObject<{ type: z.ZodEnum<["client", "provider", "organization", "agent"]>; id: z.ZodString; on_behalf_of: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "agent" | "client" | "provider" | "organization"; id: string; on_behalf_of?: { type: string; id: string; } | undefined; }, { type: "agent" | "client" | "provider" | "organization"; id: string; on_behalf_of?: { type: string; id: string; } | undefined; }>; }, "strip", z.ZodTypeAny, { actor: { type: "agent" | "client" | "provider" | "organization"; id: string; on_behalf_of?: { type: string; id: string; } | undefined; }; session_id: string; reason?: string | undefined; }, { actor: { type: "agent" | "client" | "provider" | "organization"; id: string; on_behalf_of?: { type: string; id: string; } | undefined; }; session_id: string; reason?: string | undefined; }>; handler: (client: ServicialoAdapter, args: { session_id: string; reason?: string; actor: z.infer; }) => Promise; }; }; //# sourceMappingURL=lifecycle.d.ts.map