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; query: z.ZodOptional>>; fields: z.ZodOptional; resolvePaths: 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>>; path: z.ZodOptional; }, z.core.$strip>>; count: z.ZodNumber; 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; 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({ query, resolvePaths, pageSize, pageToken, fields, shape }: Input, extra: EnrichedExtra): Promise; export default function createTool(): { name: "folder-search"; config: { readonly title: "Search Folders"; readonly description: "Search Google Drive folders with flexible field selection and optional path resolution."; readonly inputSchema: z.ZodObject<{ shape: z.ZodDefault>>; pageSize: z.ZodDefault>>; pageToken: z.ZodOptional; query: z.ZodOptional>>; fields: z.ZodOptional; resolvePaths: 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>>; path: z.ZodOptional; }, z.core.$strip>>; count: z.ZodNumber; 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; 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 {};