import { z } from 'zod'; /** * Accepts a bare template ID or a Todoist template URL. Both gallery links * (`/templates/product-launch`) and in-app links * (`/app/templates/category/my-templates/UT_28Ex.../view`) reduce to the last * path segment once a trailing `/view` is dropped. Non-Todoist hosts are * rejected rather than reduced, so a look-alike link cannot quietly resolve to * a real gallery slug. */ declare function extractTemplateId(input: string): string; declare const importProjectTemplate: { name: "import-project-template"; description: string; parameters: { projectId: z.ZodString; templateId: z.ZodOptional; csvFileContent: z.ZodOptional; locale: z.ZodOptional; }; outputSchema: { sections: z.ZodArray; }, z.core.$strip>>; tasks: z.ZodArray; 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>>; comments: z.ZodArray; 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>>; totalCount: z.ZodNumber; }; annotations: { readOnlyHint: false; destructiveHint: false; idempotentHint: false; }; execute({ projectId, templateId, csvFileContent, locale }: { projectId: string; templateId?: string | undefined; csvFileContent?: string | undefined; locale?: string | undefined; }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{ textContent: string; structuredContent: { sections: { id: string; name: string; sectionOrder: number; description?: string | undefined; }[]; tasks: { id: string; content: string; description: string; dueDate: string | undefined; recurring: string | boolean; deadlineDate: string | undefined; priority: "p1" | "p2" | "p3" | "p4"; projectId: string; sectionId: string | undefined; parentId: string | undefined; labels: string[]; duration: string | undefined; responsibleUid: string | undefined; assignedByUid: string | undefined; isDeleted: true | undefined; checked: boolean; completedAt: string | undefined; addedAt: string | undefined; }[]; comments: { id: string; taskId: string | undefined; projectId: string | undefined; content: string; postedAt: string; postedUid: string; notifiedUserIds: string[] | undefined; fileAttachment: { resourceType: string; fileName: string | undefined; fileSize: number | undefined; fileType: string | undefined; fileUrl: string | undefined; fileDuration: number | undefined; uploadState: "completed" | "pending" | undefined; url: string | undefined; title: string | undefined; image: string | undefined; imageWidth: number | undefined; imageHeight: number | undefined; } | undefined; }[]; totalCount: number; }; }>; }; export { extractTemplateId, importProjectTemplate }; //# sourceMappingURL=import-project-template.d.ts.map