/** * Hand-written envelopes for every MCP tool's `structuredContent`. * * Shapes follow spec ยง10.1 of the MCP gold-standard design. `receipts` stay * loose (the SDK verifies them); `credentials` is the API's Content * Credentials report, every field but `status` optional so an older API's * report still validates (the SDK's `CredentialsReport` has the exact types). * Dollar amounts are strings with two decimals ("0.05"), credits are numbers. */ import { z } from 'zod'; export declare const PhotoIdentitySchema: z.ZodObject<{ sha256: z.ZodString; pixelsSha256: z.ZodOptional; pHash: z.ZodString; dHash: z.ZodString; pdq: z.ZodOptional>; }, z.core.$loose>>; iscc: z.ZodOptional; }, z.core.$loose>; export type PhotoIdentity = z.infer; export declare const UsageSchema: z.ZodObject<{ creditsCharged: z.ZodNumber; creditsSaved: z.ZodNumber; usd: z.ZodObject<{ charged: z.ZodString; saved: z.ZodString; }, z.core.$loose>; modulesUsed: z.ZodArray; }, z.core.$loose>; export type Usage = z.infer; export declare const CredentialsSchema: z.ZodObject<{ status: z.ZodString; aiGenerated: z.ZodOptional>; signer: z.ZodOptional>>; captureDevice: z.ZodOptional>; signedAt: z.ZodOptional>; trustList: z.ZodOptional>; assertions: z.ZodOptional>; note: z.ZodOptional; }, z.core.$loose>; export declare const AnalyzePhotoOutputSchema: z.ZodObject<{ photo: z.ZodObject<{ sha256: z.ZodString; pixelsSha256: z.ZodOptional; pHash: z.ZodString; dHash: z.ZodString; pdq: z.ZodOptional>; }, z.core.$loose>>; iscc: z.ZodOptional; }, z.core.$loose>; output: z.ZodObject<{ [x: string]: z.ZodOptional; }, z.core.$loose>; lenses: z.ZodArray; usage: z.ZodObject<{ creditsCharged: z.ZodNumber; creditsSaved: z.ZodNumber; usd: z.ZodObject<{ charged: z.ZodString; saved: z.ZodString; }, z.core.$loose>; modulesUsed: z.ZodArray; }, z.core.$loose>; cacheHit: z.ZodBoolean; receipts: z.ZodArray; credentials: z.ZodOptional>; signer: z.ZodOptional>>; captureDevice: z.ZodOptional>; signedAt: z.ZodOptional>; trustList: z.ZodOptional>; assertions: z.ZodOptional>; note: z.ZodOptional; }, z.core.$loose>>; resource: z.ZodOptional; livemode: z.ZodBoolean; resolvedPath: z.ZodOptional; }, z.core.$loose>; export type AnalyzePhotoOutput = z.infer; export declare const AnalyzeBatchOutputSchema: z.ZodObject<{ summary: z.ZodObject<{ photos: z.ZodNumber; cacheHits: z.ZodNumber; creditsCharged: z.ZodNumber; creditsSaved: z.ZodNumber; usd: z.ZodObject<{ charged: z.ZodString; saved: z.ZodString; }, z.core.$loose>; estimate: z.ZodNullable>; dryRun: z.ZodOptional; warnings: z.ZodOptional>; }, z.core.$loose>; results: z.ZodArray; pHash: z.ZodString; dHash: z.ZodString; pdq: z.ZodOptional>; }, z.core.$loose>>; iscc: z.ZodOptional; }, z.core.$loose>; output: z.ZodObject<{ [x: string]: z.ZodOptional; }, z.core.$loose>; lenses: z.ZodArray; usage: z.ZodObject<{ creditsCharged: z.ZodNumber; creditsSaved: z.ZodNumber; usd: z.ZodObject<{ charged: z.ZodString; saved: z.ZodString; }, z.core.$loose>; modulesUsed: z.ZodArray; }, z.core.$loose>; cacheHit: z.ZodBoolean; receipts: z.ZodArray; credentials: z.ZodOptional>; signer: z.ZodOptional>>; captureDevice: z.ZodOptional>; signedAt: z.ZodOptional>; trustList: z.ZodOptional>; assertions: z.ZodOptional>; note: z.ZodOptional; }, z.core.$loose>>; resource: z.ZodOptional; livemode: z.ZodBoolean; resolvedPath: z.ZodOptional; input: z.ZodOptional; matchType: z.ZodOptional>; }, z.core.$loose>, z.ZodObject<{ error: z.ZodObject<{ code: z.ZodString; message: z.ZodString; }, z.core.$loose>; input: z.ZodString; resolvedPath: z.ZodOptional; }, z.core.$loose>, z.ZodObject<{ input: z.ZodString; matchType: z.ZodEnum<{ pdq: "pdq"; exact: "exact"; pixels: "pixels"; fuzzy: "fuzzy"; none: "none"; }>; cachedLenses: z.ZodArray; missingLenses: z.ZodArray; resource: z.ZodOptional; resolvedPath: z.ZodOptional; }, z.core.$loose>]>>; }, z.core.$loose>; export type AnalyzeBatchOutput = z.infer; export declare const LookupPhotoOutputSchema: z.ZodObject<{ matchType: z.ZodEnum<{ pdq: "pdq"; exact: "exact"; pixels: "pixels"; fuzzy: "fuzzy"; none: "none"; }>; hammingDistance: z.ZodOptional; pdqDistance: z.ZodOptional; matchedBy: z.ZodOptional>; photo: z.ZodOptional; pHash: z.ZodString; dHash: z.ZodString; pdq: z.ZodOptional>; }, z.core.$loose>>; iscc: z.ZodOptional; firstAnalyzedAt: z.ZodString; lastAnalyzedAt: z.ZodString; totalCreditsSpent: z.ZodNumber; analyzeCallCount: z.ZodNumber; lenses: z.ZodRecord; version: z.ZodString; producedAt: z.ZodString; coRunHash: z.ZodString; provider: z.ZodString; }, z.core.$loose>>; }, z.core.$loose>>; computedHashes: z.ZodOptional>; receipts: z.ZodArray; credentials: z.ZodOptional>; signer: z.ZodOptional>>; captureDevice: z.ZodOptional>; signedAt: z.ZodOptional>; trustList: z.ZodOptional>; assertions: z.ZodOptional>; note: z.ZodOptional; }, z.core.$loose>>; resource: z.ZodOptional; resolvedPath: z.ZodOptional; }, z.core.$loose>; export type LookupPhotoOutput = z.infer; export declare const ListLensesOutputSchema: z.ZodObject<{ lenses: z.ZodArray; billable: z.ZodBoolean; credits: z.ZodUnion, z.ZodLiteral<0>]>; defaultColumns: z.ZodArray>; }, z.core.$loose>>; internal: z.ZodOptional>; }, z.core.$loose>>; stacks: z.ZodArray; credits: z.ZodNumber; usdPerPhoto: z.ZodString; }, z.core.$loose>>; }, z.core.$loose>; export type ListLensesOutput = z.infer; /** * Only `total` and `usd` are required. The tier and the pool breakdown are * legacy detail: if a future API drops one, the SDK's output validation must * not turn a balance read into a tool error. */ export declare const GetCreditsOutputSchema: z.ZodObject<{ tier: z.ZodOptional; total: z.ZodNumber; community: z.ZodOptional; monthlyAllowance: z.ZodOptional; referralBonus: z.ZodOptional; resetsInDays: z.ZodOptional; }, z.core.$loose>>; purchased: z.ZodOptional; }, z.core.$loose>>; reserved: z.ZodOptional; usd: z.ZodString; }, z.core.$loose>; export type GetCreditsOutput = z.infer; export declare const PurchaseCreditsOutputSchema: z.ZodObject<{ url: z.ZodString; actions: z.ZodArray; label: z.ZodString; url: z.ZodString; }, z.core.$loose>>; }, z.core.$loose>; export type PurchaseCreditsOutput = z.infer; export declare const EnrichPhotoOutputSchema: z.ZodObject<{ mode: z.ZodEnum<{ file: "file"; sidecar: "sidecar"; }>; savedTo: z.ZodOptional; sidecarSavedTo: z.ZodOptional; imageBase64: z.ZodOptional; sidecar: z.ZodOptional>; formatsWritten: z.ZodArray>; lensVersions: z.ZodRecord; sha256: z.ZodString; registryId: z.ZodOptional; credentials: z.ZodOptional>; signer: z.ZodOptional>>; captureDevice: z.ZodOptional>; signedAt: z.ZodOptional>; trustList: z.ZodOptional>; assertions: z.ZodOptional>; note: z.ZodOptional; }, z.core.$loose>>; reason: z.ZodOptional; warnings: z.ZodOptional>; note: z.ZodOptional; usage: z.ZodObject<{ creditsCharged: z.ZodNumber; usd: z.ZodObject<{ charged: z.ZodString; }, z.core.$loose>; }, z.core.$loose>; meta: z.ZodOptional>; resolvedPath: z.ZodOptional; }, z.core.$loose>; export type EnrichPhotoOutput = z.infer; //# sourceMappingURL=envelopes.d.ts.map