import { z } from "zod"; /** * 【推荐】创建云文档 * 当用户要求创建文档时,优先使用此工具 */ export declare const createDocTool: { name: string; description: string; inputSchema: { title: z.ZodString; blocks: z.ZodOptional; content: z.ZodOptional; lang: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "code" | "text" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "bullet" | "ordered" | "quote" | "todo" | "callout" | "divider"; content?: string | undefined; lang?: string | undefined; }, { type: "code" | "text" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "bullet" | "ordered" | "quote" | "todo" | "callout" | "divider"; content?: string | undefined; lang?: string | undefined; }>, "many">>; folder: z.ZodOptional; email: z.ZodString; }; handler: (args: { title: string; blocks?: Array<{ type: string; content?: string; lang?: string; }>; folder?: string; email?: string; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; }; /** * 导入Markdown为云文档 */ export declare const importMarkdownTool: { name: string; description: string; inputSchema: { md: z.ZodString; title: z.ZodOptional; folder: z.ZodOptional; email: z.ZodString; }; handler: (args: { md: string; title?: string; folder?: string; email?: string; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; }; /** * 获取文档内容 */ export declare const getDocContentTool: { name: string; description: string; inputSchema: { id: z.ZodString; }; handler: (args: { id: string; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; }; /** * 搜索文档 */ export declare const searchDocsTool: { name: string; description: string; inputSchema: { q: z.ZodString; types: z.ZodOptional, "many">>; limit: z.ZodOptional; }; handler: (args: { q: string; types?: string[]; limit?: number; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; }; /** * 追加文档内容 */ export declare const appendDocTool: { name: string; description: string; inputSchema: { doc: z.ZodString; blocks: z.ZodArray; content: z.ZodOptional; lang: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "code" | "text" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "bullet" | "ordered" | "quote" | "todo" | "callout" | "divider"; content?: string | undefined; lang?: string | undefined; }, { type: "code" | "text" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "bullet" | "ordered" | "quote" | "todo" | "callout" | "divider"; content?: string | undefined; lang?: string | undefined; }>, "many">; }; handler: (args: { doc: string; blocks: Array<{ type: string; content?: string; lang?: string; }>; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; }; /** * 云文档工具集合 * 排序说明: createDocTool 放在最前面,AI 会优先选择它 */ export declare const docTools: ({ name: string; description: string; inputSchema: { title: z.ZodString; blocks: z.ZodOptional; content: z.ZodOptional; lang: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "code" | "text" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "bullet" | "ordered" | "quote" | "todo" | "callout" | "divider"; content?: string | undefined; lang?: string | undefined; }, { type: "code" | "text" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "bullet" | "ordered" | "quote" | "todo" | "callout" | "divider"; content?: string | undefined; lang?: string | undefined; }>, "many">>; folder: z.ZodOptional; email: z.ZodString; }; handler: (args: { title: string; blocks?: Array<{ type: string; content?: string; lang?: string; }>; folder?: string; email?: string; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; } | { name: string; description: string; inputSchema: { md: z.ZodString; title: z.ZodOptional; folder: z.ZodOptional; email: z.ZodString; }; handler: (args: { md: string; title?: string; folder?: string; email?: string; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; } | { name: string; description: string; inputSchema: { id: z.ZodString; }; handler: (args: { id: string; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; } | { name: string; description: string; inputSchema: { q: z.ZodString; types: z.ZodOptional, "many">>; limit: z.ZodOptional; }; handler: (args: { q: string; types?: string[]; limit?: number; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; } | { name: string; description: string; inputSchema: { doc: z.ZodString; blocks: z.ZodArray; content: z.ZodOptional; lang: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "code" | "text" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "bullet" | "ordered" | "quote" | "todo" | "callout" | "divider"; content?: string | undefined; lang?: string | undefined; }, { type: "code" | "text" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "bullet" | "ordered" | "quote" | "todo" | "callout" | "divider"; content?: string | undefined; lang?: string | undefined; }>, "many">; }; handler: (args: { doc: string; blocks: Array<{ type: string; content?: string; lang?: string; }>; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; })[]; //# sourceMappingURL=doc-tools.d.ts.map