import { z } from '@bpinternal/zui';
import { RenderedComponent } from 'llmz';
export declare function joinMarkdownChildren(children: any[], stringify?: (el: unknown) => string): string;
export type Message = z.infer<typeof Message>;
export declare const Message: import("@bpinternal/zui").ZodObject<{
    __jsx: import("@bpinternal/zui").ZodLiteral<true>;
    type: import("@bpinternal/zui").ZodLiteral<"MESSAGE">;
    props: import("@bpinternal/zui").ZodObject<{
        type: import("@bpinternal/zui").ZodCatch<import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodEnum<["error", "info", "success", "prompt"]>>>;
    }, "passthrough", import("@bpinternal/zui").objectOutputType<{
        type: import("@bpinternal/zui").ZodCatch<import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodEnum<["error", "info", "success", "prompt"]>>>;
    }, "passthrough">, import("@bpinternal/zui").objectInputType<{
        type: import("@bpinternal/zui").ZodCatch<import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodEnum<["error", "info", "success", "prompt"]>>>;
    }, "passthrough">>;
    children: z.ZodTransformer<import("@bpinternal/zui").ZodDefault<import("@bpinternal/zui").ZodArray<import("@bpinternal/zui").ZodAny, "many">>, (string | RenderedComponent<Record<string, any>>)[], any[] | undefined>;
}, "strip", {
    type: "MESSAGE";
    __jsx: true;
    props: {
        [k: string]: unknown;
    } & {
        type: "error" | "info" | "success" | "prompt";
    };
    children: (string | RenderedComponent<Record<string, any>>)[];
}, {
    type: "MESSAGE";
    __jsx: true;
    props: {
        type?: unknown;
    } & {
        [k: string]: unknown;
    };
    children?: any[] | undefined;
}>;
//# sourceMappingURL=messages.d.ts.map