import { Section } from '@doist/todoist-sdk'; import { z } from 'zod'; /** * Schema for a mapped task object returned by tools */ declare const TaskSchema: z.ZodObject<{ id: z.ZodString; content: z.ZodString; description: z.ZodString; dueDate: z.ZodOptional; recurring: z.ZodUnion; deadlineDate: z.ZodOptional; priority: z.ZodEnum<{ p1: "p1"; p2: "p2"; p3: "p3"; p4: "p4"; }>; projectId: z.ZodString; sectionId: z.ZodOptional; parentId: z.ZodOptional; labels: z.ZodOptional>; duration: z.ZodOptional; responsibleUid: z.ZodOptional; isUncompletable: z.ZodOptional; assignedByUid: z.ZodOptional; isDeleted: z.ZodOptional; checked: z.ZodBoolean; completedAt: z.ZodOptional; addedAt: z.ZodOptional; }, z.core.$strip>; /** * Schema for a mapped project object returned by tools */ declare const ProjectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; color: z.ZodCatch>>; isFavorite: z.ZodBoolean; isShared: z.ZodBoolean; parentId: z.ZodOptional; inboxProject: z.ZodBoolean; viewStyle: z.ZodString; workspaceId: z.ZodOptional; folderId: z.ZodOptional; childOrder: z.ZodNumber; isArchived: z.ZodBoolean; }, z.core.$strip>; /** * Schema for a section object returned by tools */ declare const SectionSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; sectionOrder: z.ZodNumber; description: z.ZodOptional; }, z.core.$strip>; type SectionSummary = z.infer; /** * Strip an SDK Section down to the fields declared in SectionSchema. Keeps tool * responses aligned with the schema. The output schema uses an optional string * (Gemini-compatible), so the read's `string | null` description maps `null` to * `undefined`. */ declare function toSectionSummary({ id, name, sectionOrder, description }: Section): SectionSummary; /** * Schema for a comment object returned by tools */ declare const CommentSchema: z.ZodObject<{ id: z.ZodString; taskId: z.ZodOptional; projectId: z.ZodOptional; content: z.ZodString; postedAt: z.ZodString; postedUid: z.ZodOptional; notifiedUserIds: z.ZodOptional>; fileAttachment: z.ZodOptional; fileSize: z.ZodOptional; fileType: z.ZodOptional; fileUrl: z.ZodOptional; fileDuration: z.ZodOptional; uploadState: z.ZodOptional>; url: z.ZodOptional; title: z.ZodOptional; image: z.ZodOptional; imageWidth: z.ZodOptional; imageHeight: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; /** * Schema for an activity event object returned by tools */ declare const ActivityEventSchema: z.ZodObject<{ id: z.ZodOptional; objectType: z.ZodString; objectId: z.ZodString; eventType: z.ZodString; eventDate: z.ZodString; parentProjectId: z.ZodOptional; parentItemId: z.ZodOptional; initiatorId: z.ZodOptional; extraData: z.ZodOptional>; }, z.core.$strip>; /** * Schema for a user/collaborator object returned by tools */ declare const CollaboratorSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; email: z.ZodString; }, z.core.$strip>; /** * Schema for a label object returned by tools */ declare const LabelSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; color: z.ZodCatch>>; order: z.ZodCatch>; isFavorite: z.ZodBoolean; }, z.core.$strip>; /** * Schema for a mapped reminder object returned by tools */ declare const ReminderSchema: z.ZodObject<{ id: z.ZodString; taskId: z.ZodString; type: z.ZodEnum<{ location: "location"; absolute: "absolute"; relative: "relative"; }>; minuteOffset: z.ZodOptional; due: z.ZodOptional; timezone: z.ZodOptional; }, z.core.$strip>>; name: z.ZodOptional; locLat: z.ZodOptional; locLong: z.ZodOptional; locTrigger: z.ZodOptional>; radius: z.ZodOptional; isUrgent: z.ZodOptional; }, z.core.$strip>; /** * Schema for batch operation failure */ declare const FailureSchema: z.ZodObject<{ item: z.ZodString; error: z.ZodString; code: z.ZodOptional; }, z.core.$strip>; export { ActivityEventSchema, CollaboratorSchema, CommentSchema, FailureSchema, LabelSchema, ProjectSchema, ReminderSchema, SectionSchema, type SectionSummary, TaskSchema, toSectionSummary, }; //# sourceMappingURL=output-schemas.d.ts.map