import { z } from 'zod'; /** * Advanced rules configured for an account that evaluate incoming messages * against specific matching criteria (like sender, subject, or size). When a * message matches, filters automatically trigger actions such as adding or * removing labels, or forwarding the email to a specified address. * * Field docs use `.describe()` so they reach the wire JSON Schema an MCP client * reads. * * @see https://developers.google.com/workspace/gmail/api/guides */ export declare const Filter: z.ZodObject<{ id: z.ZodString; criteria: z.ZodObject<{ from: z.ZodOptional; to: z.ZodOptional; subject: z.ZodOptional; query: z.ZodOptional; negatedQuery: z.ZodOptional; hasAttachment: z.ZodOptional; excludeChats: z.ZodOptional; size: z.ZodOptional; sizeComparison: z.ZodOptional>; }, z.core.$strict>; action: z.ZodObject<{ addLabelIds: z.ZodOptional>; removeLabelIds: z.ZodOptional>; forward: z.ZodOptional; }, z.core.$strict>; }, z.core.$strip>; export type Filter = z.infer; //# sourceMappingURL=Filter.d.ts.map