import type { EnrichedExtra } from '@mcp-z/oauth-google'; import type { CallToolResult } from '@mcp-z/server'; import { z } from 'zod'; declare const inputSchema: z.ZodObject<{ sourceUri: z.ZodString; name: z.ZodOptional; mimeType: z.ZodOptional; parentId: z.ZodOptional; description: z.ZodOptional; }, z.core.$strip>; declare const outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"success">; operationSummary: z.ZodString; itemsProcessed: z.ZodNumber; itemsChanged: z.ZodNumber; completedAt: z.ZodString; id: z.ZodString; name: z.ZodString; mimeType: z.ZodString; size: z.ZodOptional; md5Checksum: z.ZodOptional; sha256Checksum: z.ZodOptional; webViewLink: z.ZodString; parentId: z.ZodOptional; parentName: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"auth_required">; provider: z.ZodString; message: z.ZodString; url: z.ZodOptional; }, z.core.$strip>], "type">; export type Input = z.infer; export type Output = z.infer; declare function handler({ sourceUri, name, mimeType, parentId, description }: Input, extra: EnrichedExtra): Promise; export default function createTool(): { name: "file-upload"; config: { readonly title: "Upload File"; readonly description: "Upload a file to Google Drive from a file:// or http(s):// URI. Content is streamed from the source (no temp files) in a single multipart request. Returns file ID for use in other operations."; readonly inputSchema: z.ZodObject<{ sourceUri: z.ZodString; name: z.ZodOptional; mimeType: z.ZodOptional; parentId: z.ZodOptional; description: z.ZodOptional; }, z.core.$strip>; readonly outputSchema: z.ZodObject<{ result: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"success">; operationSummary: z.ZodString; itemsProcessed: z.ZodNumber; itemsChanged: z.ZodNumber; completedAt: z.ZodString; id: z.ZodString; name: z.ZodString; mimeType: z.ZodString; size: z.ZodOptional; md5Checksum: z.ZodOptional; sha256Checksum: z.ZodOptional; webViewLink: z.ZodString; parentId: z.ZodOptional; parentName: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"auth_required">; provider: z.ZodString; message: z.ZodString; url: z.ZodOptional; }, z.core.$strip>], "type">; }, z.core.$strip>; }; handler: typeof handler; }; export {};