import { Component, PuptNode, RenderContext } from '../../src/index.ts'; import { z } from 'zod'; export declare const whenSchema: z.ZodObject<{ condition: z.ZodString; then: z.ZodOptional; delimiter: z.ZodOptional>; }, z.core.$loose>; type WhenProps = z.infer & { children?: PuptNode; }; /** * Describes what to do when a specific condition is encountered. * Typically used as a child of EdgeCases. * * Usage: * Ask for input * */ export declare class When extends Component { static schema: z.ZodObject<{ condition: z.ZodString; then: z.ZodOptional; delimiter: z.ZodOptional>; }, z.core.$loose>; render(props: WhenProps, _resolvedValue: undefined, _context: RenderContext): PuptNode; } export {}; //# sourceMappingURL=When.d.ts.map