/** * Telegraph Tools Export * Combines all tool definitions and handlers */ export declare const allTools: ({ 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[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { access_token: { type: string; description: string; }; title: { type: string; description: string; minLength: number; maxLength: number; }; content: { type: string; description: string; }; format: { type: string; description: string; enum: string[]; default: string; }; author_name: { type: string; description: string; maxLength: number; }; author_url: { type: string; description: string; maxLength: number; }; return_content: { type: string; description: string; default: boolean; }; path?: undefined; offset?: undefined; limit?: undefined; year?: undefined; month?: undefined; day?: undefined; hour?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { access_token: { type: string; description: string; }; path: { type: string; description: string; }; title: { type: string; description: string; minLength: number; maxLength: number; }; content: { type: string; description: string; }; format: { type: string; description: string; enum: string[]; default: string; }; author_name: { type: string; description: string; maxLength: number; }; author_url: { type: string; description: string; maxLength: number; }; return_content: { type: string; description: string; default: boolean; }; offset?: undefined; limit?: undefined; year?: undefined; month?: undefined; day?: undefined; hour?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { path: { type: string; description: string; }; return_content: { type: string; description: string; default: boolean; }; access_token?: undefined; title?: undefined; content?: undefined; format?: undefined; author_name?: undefined; author_url?: undefined; offset?: undefined; limit?: undefined; year?: undefined; month?: undefined; day?: undefined; hour?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { access_token: { type: string; description: string; }; offset: { type: string; description: string; minimum: number; default: number; }; limit: { type: string; description: string; minimum: number; maximum: number; default: number; }; title?: undefined; content?: undefined; format?: undefined; author_name?: undefined; author_url?: undefined; return_content?: undefined; path?: undefined; year?: undefined; month?: undefined; day?: undefined; hour?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { path: { type: string; description: string; }; year: { type: string; description: string; minimum: number; maximum: number; }; month: { type: string; description: string; minimum: number; maximum: number; }; day: { type: string; description: string; minimum: number; maximum: number; }; hour: { type: string; description: string; minimum: number; maximum: number; }; access_token?: undefined; title?: undefined; content?: undefined; format?: undefined; author_name?: undefined; author_url?: undefined; return_content?: undefined; offset?: undefined; limit?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { access_token?: undefined; template?: undefined; title?: undefined; data?: undefined; author_name?: undefined; author_url?: undefined; return_content?: undefined; }; required?: undefined; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { access_token: { type: string; description: string; }; template: { type: string; enum: string[]; description: string; }; title: { type: string; description: string; }; data: { type: string; description: string; }; author_name: { type: string; description: string; }; author_url: { type: string; description: string; }; return_content: { type: string; default: boolean; }; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { path: { type: string; description: string; }; format: { type: string; enum: string[]; default: string; description: string; }; access_token?: undefined; limit?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { access_token: { type: string; description: string; }; format: { type: string; enum: string[]; default: string; description: string; }; limit: { type: string; minimum: number; maximum: number; default: number; description: string; }; path?: undefined; }; required: string[]; }; })[]; export declare function handleTool(name: string, args: unknown): Promise<{ content: { type: "text"; text: string; }[]; } | { isError: boolean; content: { type: "text"; text: string; }[]; }>; //# sourceMappingURL=index.d.ts.map