import { z } from 'zod'; import { fieldDiffResultSchema } from '../schemas.js'; import { type SkippedField } from '../fieldDiffApproval.js'; export declare const paramsSchema: z.ZodObject<{ request: z.ZodDiscriminatedUnion<[z.ZodObject<{ template: z.ZodLiteral<"fix_readability">; }, z.core.$strip>, z.ZodObject<{ template: z.ZodLiteral<"translate">; targetLanguage: z.ZodString; }, z.core.$strip>, z.ZodObject<{ template: z.ZodLiteral<"rewrite">; instruction: z.ZodString; }, z.core.$strip>, z.ZodObject<{ template: z.ZodLiteral<"generate_content">; instruction: z.ZodString; context: z.ZodOptional; }, z.core.$strip>], "template">; fields: z.ZodArray>; }, z.core.$strip>; export type StreamTextFieldsParams = z.infer; export type StreamTextFieldsResult = z.infer; export type ResolvedField = { uuid: string; fieldName: string; currentValue: string; fieldType: 'plain' | 'markup'; entityType: string; entityBundle: string; }; export type ComponentParams = { template: string; templateParams: Record; fields: ResolvedField[]; /** Field references dropped because the paragraph/field doesn't exist. */ skipped: SkippedField[]; }; export declare const resultSchema: z.ZodObject<{ acceptedCount: z.ZodNumber; rejectedByUser: z.ZodRecord; reasonForRejection: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>>>; label: z.ZodString; agentMessage: z.ZodOptional; historyIndex: z.ZodOptional; }, z.core.$strip>; declare const _default: any; export default _default;