import type { EnrichedExtra } from '@mcp-z/oauth-google'; import { type CallToolResult } from '@mcp-z/server'; import { z } from 'zod'; declare const inputSchema: z.ZodObject<{ shape: z.ZodDefault>>; pageSize: z.ZodDefault>>; pageToken: z.ZodOptional; folderId: z.ZodString; fields: z.ZodOptional; }, z.core.$strip>; declare const outputSchema: z.ZodUnion; shape: z.ZodLiteral<"objects">; items: z.ZodArray; name: z.ZodOptional; mimeType: z.ZodOptional; webViewLink: z.ZodOptional; webContentLink: z.ZodOptional; modifiedTime: z.ZodOptional; createdTime: z.ZodOptional; size: z.ZodOptional; version: z.ZodOptional; shared: z.ZodOptional; starred: z.ZodOptional; trashed: z.ZodOptional; parents: z.ZodOptional>>; owners: z.ZodOptional; emailAddress: z.ZodOptional; kind: z.ZodOptional; me: z.ZodOptional; permissionId: z.ZodOptional; photoLink: z.ZodOptional; }, z.core.$strip>>>; permissions: z.ZodOptional; canComment: z.ZodOptional; canShare: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; count: z.ZodNumber; folderId: z.ZodString; nextPageToken: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"success">; shape: z.ZodLiteral<"arrays">; columns: z.ZodArray; rows: z.ZodArray>; count: z.ZodNumber; folderId: z.ZodString; nextPageToken: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"auth_required">; provider: z.ZodString; message: z.ZodString; url: z.ZodOptional; }, z.core.$strip>]>; export type Input = z.infer; export type Output = z.infer; declare function handler({ folderId, pageSize, pageToken, fields, shape }: Input, extra: EnrichedExtra): Promise; export default function createTool(): { name: "folder-contents"; config: { readonly title: "List Folder Contents"; readonly description: "List files and folders in a specific folder with field selection."; readonly inputSchema: z.ZodObject<{ shape: z.ZodDefault>>; pageSize: z.ZodDefault>>; pageToken: z.ZodOptional; folderId: z.ZodString; fields: z.ZodOptional; }, z.core.$strip>; readonly outputSchema: z.ZodObject<{ result: z.ZodUnion; shape: z.ZodLiteral<"objects">; items: z.ZodArray; name: z.ZodOptional; mimeType: z.ZodOptional; webViewLink: z.ZodOptional; webContentLink: z.ZodOptional; modifiedTime: z.ZodOptional; createdTime: z.ZodOptional; size: z.ZodOptional; version: z.ZodOptional; shared: z.ZodOptional; starred: z.ZodOptional; trashed: z.ZodOptional; parents: z.ZodOptional>>; owners: z.ZodOptional; emailAddress: z.ZodOptional; kind: z.ZodOptional; me: z.ZodOptional; permissionId: z.ZodOptional; photoLink: z.ZodOptional; }, z.core.$strip>>>; permissions: z.ZodOptional; canComment: z.ZodOptional; canShare: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; count: z.ZodNumber; folderId: z.ZodString; nextPageToken: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"success">; shape: z.ZodLiteral<"arrays">; columns: z.ZodArray; rows: z.ZodArray>; count: z.ZodNumber; folderId: z.ZodString; nextPageToken: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"auth_required">; provider: z.ZodString; message: z.ZodString; url: z.ZodOptional; }, z.core.$strip>]>; }, z.core.$strip>; }; handler: typeof handler; }; export {};