/** * Shared Zod output schemas for structured tool results (MCP 2026-07-28). * * Tools that return enumerable / queryable data declare an `outputSchema` and * return `structuredContent` alongside the human-readable `content` text, so * clients can consume the data programmatically. These schemas mirror the * corresponding domain types in `../types/index.ts`. */ import { z } from 'zod'; /** Mirrors `EmailAddress`. */ export declare const emailAddressSchema: z.ZodObject<{ name: z.ZodOptional; address: z.ZodString; }, z.core.$strip>; /** Mirrors `EmailMeta` (the list/search row). */ export declare const emailMetaSchema: z.ZodObject<{ id: z.ZodString; subject: z.ZodString; from: z.ZodObject<{ name: z.ZodOptional; address: z.ZodString; }, z.core.$strip>; to: z.ZodArray; address: z.ZodString; }, z.core.$strip>>; date: z.ZodString; seen: z.ZodBoolean; flagged: z.ZodBoolean; answered: z.ZodBoolean; hasAttachments: z.ZodBoolean; labels: z.ZodArray; preview: z.ZodOptional; }, z.core.$strip>; /** * Where a read was answered from. Present only when the local mirror served * it; `stale` marks a bounded-wait timeout, `offline` an unreachable server. */ export declare const cacheMarkerSchema: z.ZodObject<{ source: z.ZodLiteral<"cache">; stale: z.ZodOptional>; offline: z.ZodOptional>; }, z.core.$strip>; /** Structured result for `list_emails` / `search_emails`. */ export declare const emailListOutputSchema: z.ZodObject<{ account: z.ZodString; mailbox: z.ZodString; total: z.ZodNumber; page: z.ZodNumber; pageSize: z.ZodNumber; hasMore: z.ZodBoolean; count: z.ZodNumber; emails: z.ZodArray; address: z.ZodString; }, z.core.$strip>; to: z.ZodArray; address: z.ZodString; }, z.core.$strip>>; date: z.ZodString; seen: z.ZodBoolean; flagged: z.ZodBoolean; answered: z.ZodBoolean; hasAttachments: z.ZodBoolean; labels: z.ZodArray; preview: z.ZodOptional; }, z.core.$strip>>; cache: z.ZodOptional; stale: z.ZodOptional>; offline: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; /** Mirrors `Mailbox`. */ export declare const mailboxSchema: z.ZodObject<{ name: z.ZodString; path: z.ZodString; specialUse: z.ZodOptional; totalMessages: z.ZodOptional; unseenMessages: z.ZodOptional; }, z.core.$strip>; /** Structured result for `list_mailboxes`. */ export declare const mailboxListOutputSchema: z.ZodObject<{ account: z.ZodString; count: z.ZodNumber; mailboxes: z.ZodArray; totalMessages: z.ZodOptional; unseenMessages: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; /** Structured result for `get_verification_code`. */ export declare const verificationOutputSchema: z.ZodObject<{ found: z.ZodBoolean; kind: z.ZodOptional>; code: z.ZodOptional; link: z.ZodOptional; from: z.ZodOptional; subject: z.ZodOptional; service: z.ZodOptional; account: z.ZodOptional; mailbox: z.ZodOptional; age_seconds: z.ZodOptional; confidence: z.ZodOptional>; copied: z.ZodBoolean; clipboard_concealed: z.ZodOptional; watcher_active: z.ZodBoolean; hint: z.ZodOptional; }, z.core.$strip>; /** Structured result for `get_email_status`. */ export declare const emailStatusOutputSchema: z.ZodObject<{ id: z.ZodString; mailbox: z.ZodString; subject: z.ZodString; from: z.ZodString; date: z.ZodString; seen: z.ZodBoolean; flagged: z.ZodBoolean; answered: z.ZodBoolean; labels: z.ZodArray; }, z.core.$strip>; //# sourceMappingURL=schemas.d.ts.map