/** * Telegraph Account Tools * MCP tool definitions for account-related operations */ import { z } from 'zod'; export declare const CreateAccountSchema: z.ZodObject<{ short_name: z.ZodString; author_name: z.ZodOptional; author_url: z.ZodOptional; }, "strip", z.ZodTypeAny, { short_name: string; author_name?: string | undefined; author_url?: string | undefined; }, { short_name: string; author_name?: string | undefined; author_url?: string | undefined; }>; export declare const EditAccountInfoSchema: z.ZodObject<{ access_token: z.ZodString; short_name: z.ZodOptional; author_name: z.ZodOptional; author_url: z.ZodOptional; }, "strip", z.ZodTypeAny, { access_token: string; short_name?: string | undefined; author_name?: string | undefined; author_url?: string | undefined; }, { access_token: string; short_name?: string | undefined; author_name?: string | undefined; author_url?: string | undefined; }>; export declare const GetAccountInfoSchema: z.ZodObject<{ access_token: z.ZodString; fields: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { access_token: string; fields?: ("short_name" | "author_name" | "author_url" | "auth_url" | "page_count")[] | undefined; }, { access_token: string; fields?: ("short_name" | "author_name" | "author_url" | "auth_url" | "page_count")[] | undefined; }>; export declare const RevokeAccessTokenSchema: z.ZodObject<{ access_token: z.ZodString; }, "strip", z.ZodTypeAny, { access_token: string; }, { access_token: string; }>; export declare const accountTools: ({ name: string; description: string; inputSchema: { type: "object"; properties: { short_name: { type: string; description: string; minLength: number; maxLength: number; }; author_name: { type: string; description: string; maxLength: number; }; author_url: { type: string; description: string; maxLength: number; }; access_token?: undefined; fields?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { access_token: { type: string; description: string; }; short_name: { type: string; description: string; minLength: number; maxLength: number; }; author_name: { type: string; description: string; maxLength: number; }; author_url: { type: string; description: string; maxLength: number; }; fields?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { access_token: { type: string; description: string; }; fields: { type: string; items: { type: string; enum: string[]; }; description: string; }; short_name?: undefined; author_name?: undefined; author_url?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { access_token: { type: string; description: string; }; short_name?: undefined; author_name?: undefined; author_url?: undefined; fields?: undefined; }; required: string[]; }; })[]; export declare function handleAccountTool(name: string, args: unknown): Promise<{ content: { type: "text"; text: string; }[]; } | null>; //# sourceMappingURL=account.d.ts.map