import z from 'zod';
import { versionDiffEntrySchema } from './version-common.js';
export declare const listPromptBlockVersionsQuerySchema: z.ZodObject<{
    perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
} & {
    orderBy: z.ZodOptional<z.ZodObject<{
        field: z.ZodOptional<z.ZodEnum<["versionNumber", "createdAt"]>>;
        direction: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
    }, "strip", z.ZodTypeAny, {
        field?: "createdAt" | "versionNumber" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }, {
        field?: "createdAt" | "versionNumber" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }>>;
}, "strip", z.ZodTypeAny, {
    page: number;
    perPage: number;
    orderBy?: {
        field?: "createdAt" | "versionNumber" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined;
}, {
    page?: number | undefined;
    perPage?: number | undefined;
    orderBy?: {
        field?: "createdAt" | "versionNumber" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined;
}> | z.ZodObject<{
    perPage: z.ZodOptional<z.ZodNumber>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
} & {
    orderBy: z.ZodOptional<z.ZodObject<{
        field: z.ZodOptional<z.ZodEnum<["versionNumber", "createdAt"]>>;
        direction: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
    }, "strip", z.ZodTypeAny, {
        field?: "createdAt" | "versionNumber" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }, {
        field?: "createdAt" | "versionNumber" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }>>;
}, "strip", z.ZodTypeAny, {
    page: number;
    perPage?: number | undefined;
    orderBy?: {
        field?: "createdAt" | "versionNumber" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined;
}, {
    page?: number | undefined;
    perPage?: number | undefined;
    orderBy?: {
        field?: "createdAt" | "versionNumber" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined;
}>;
export declare const comparePromptBlockVersionsQuerySchema: z.ZodObject<{
    from: z.ZodString;
    to: z.ZodString;
}, "strip", z.ZodTypeAny, {
    from: string;
    to: string;
}, {
    from: string;
    to: string;
}>;
export declare const createPromptBlockVersionBodySchema: z.ZodObject<{
    changeMessage: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    changeMessage?: string | undefined;
}, {
    changeMessage?: string | undefined;
}>;
export declare const promptBlockVersionPathParams: z.ZodObject<{
    promptBlockId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    promptBlockId: string;
}, {
    promptBlockId: string;
}>;
export declare const promptBlockVersionIdPathParams: z.ZodObject<{
    promptBlockId: z.ZodString;
    versionId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    versionId: string;
    promptBlockId: string;
}, {
    versionId: string;
    promptBlockId: string;
}>;
export declare const promptBlockVersionSchema: z.ZodObject<{
    id: z.ZodString;
    blockId: z.ZodString;
    versionNumber: z.ZodNumber;
    name: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
    content: z.ZodString;
    rules: z.ZodOptional<z.ZodObject<{
        operator: z.ZodEnum<["AND", "OR"]>;
        conditions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
            field: z.ZodString;
            operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
            value: z.ZodUnknown;
        }, "strip", z.ZodTypeAny, {
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        }, {
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        }>, z.ZodObject<{
            operator: z.ZodEnum<["AND", "OR"]>;
            conditions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
                field: z.ZodString;
                operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                value: z.ZodUnknown;
            }, "strip", z.ZodTypeAny, {
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            }, {
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            }>, z.ZodObject<{
                operator: z.ZodEnum<["AND", "OR"]>;
                conditions: z.ZodArray<z.ZodObject<{
                    field: z.ZodString;
                    operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                    value: z.ZodUnknown;
                }, "strip", z.ZodTypeAny, {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }, {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }>, "many">;
            }, "strip", z.ZodTypeAny, {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            }, {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            }>]>, "many">;
        }, "strip", z.ZodTypeAny, {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        }, {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        }>]>, "many">;
    }, "strip", z.ZodTypeAny, {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    }, {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    }>>;
    changedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    changeMessage: z.ZodOptional<z.ZodString>;
    createdAt: z.ZodDate;
}, "strip", z.ZodTypeAny, {
    name: string;
    id: string;
    createdAt: Date;
    content: string;
    versionNumber: number;
    blockId: string;
    description?: string | undefined;
    rules?: {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    } | undefined;
    changeMessage?: string | undefined;
    changedFields?: string[] | undefined;
}, {
    name: string;
    id: string;
    createdAt: Date;
    content: string;
    versionNumber: number;
    blockId: string;
    description?: string | undefined;
    rules?: {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    } | undefined;
    changeMessage?: string | undefined;
    changedFields?: string[] | undefined;
}>;
export declare const listPromptBlockVersionsResponseSchema: z.ZodObject<{
    total: z.ZodNumber;
    page: z.ZodNumber;
    perPage: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>;
    hasMore: z.ZodBoolean;
} & {
    versions: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        blockId: z.ZodString;
        versionNumber: z.ZodNumber;
        name: z.ZodString;
        description: z.ZodOptional<z.ZodString>;
        content: z.ZodString;
        rules: z.ZodOptional<z.ZodObject<{
            operator: z.ZodEnum<["AND", "OR"]>;
            conditions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
                field: z.ZodString;
                operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                value: z.ZodUnknown;
            }, "strip", z.ZodTypeAny, {
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            }, {
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            }>, z.ZodObject<{
                operator: z.ZodEnum<["AND", "OR"]>;
                conditions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
                    field: z.ZodString;
                    operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                    value: z.ZodUnknown;
                }, "strip", z.ZodTypeAny, {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }, {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }>, z.ZodObject<{
                    operator: z.ZodEnum<["AND", "OR"]>;
                    conditions: z.ZodArray<z.ZodObject<{
                        field: z.ZodString;
                        operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                        value: z.ZodUnknown;
                    }, "strip", z.ZodTypeAny, {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }, {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }>, "many">;
                }, "strip", z.ZodTypeAny, {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                }, {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                }>]>, "many">;
            }, "strip", z.ZodTypeAny, {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            }, {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            }>]>, "many">;
        }, "strip", z.ZodTypeAny, {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        }, {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        }>>;
        changedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        changeMessage: z.ZodOptional<z.ZodString>;
        createdAt: z.ZodDate;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        createdAt: Date;
        content: string;
        versionNumber: number;
        blockId: string;
        description?: string | undefined;
        rules?: {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        } | undefined;
        changeMessage?: string | undefined;
        changedFields?: string[] | undefined;
    }, {
        name: string;
        id: string;
        createdAt: Date;
        content: string;
        versionNumber: number;
        blockId: string;
        description?: string | undefined;
        rules?: {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        } | undefined;
        changeMessage?: string | undefined;
        changedFields?: string[] | undefined;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    total: number;
    page: number;
    perPage: number | false;
    hasMore: boolean;
    versions: {
        name: string;
        id: string;
        createdAt: Date;
        content: string;
        versionNumber: number;
        blockId: string;
        description?: string | undefined;
        rules?: {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        } | undefined;
        changeMessage?: string | undefined;
        changedFields?: string[] | undefined;
    }[];
}, {
    total: number;
    page: number;
    perPage: number | false;
    hasMore: boolean;
    versions: {
        name: string;
        id: string;
        createdAt: Date;
        content: string;
        versionNumber: number;
        blockId: string;
        description?: string | undefined;
        rules?: {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        } | undefined;
        changeMessage?: string | undefined;
        changedFields?: string[] | undefined;
    }[];
}>;
export declare const getPromptBlockVersionResponseSchema: z.ZodObject<{
    id: z.ZodString;
    blockId: z.ZodString;
    versionNumber: z.ZodNumber;
    name: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
    content: z.ZodString;
    rules: z.ZodOptional<z.ZodObject<{
        operator: z.ZodEnum<["AND", "OR"]>;
        conditions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
            field: z.ZodString;
            operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
            value: z.ZodUnknown;
        }, "strip", z.ZodTypeAny, {
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        }, {
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        }>, z.ZodObject<{
            operator: z.ZodEnum<["AND", "OR"]>;
            conditions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
                field: z.ZodString;
                operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                value: z.ZodUnknown;
            }, "strip", z.ZodTypeAny, {
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            }, {
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            }>, z.ZodObject<{
                operator: z.ZodEnum<["AND", "OR"]>;
                conditions: z.ZodArray<z.ZodObject<{
                    field: z.ZodString;
                    operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                    value: z.ZodUnknown;
                }, "strip", z.ZodTypeAny, {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }, {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }>, "many">;
            }, "strip", z.ZodTypeAny, {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            }, {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            }>]>, "many">;
        }, "strip", z.ZodTypeAny, {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        }, {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        }>]>, "many">;
    }, "strip", z.ZodTypeAny, {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    }, {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    }>>;
    changedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    changeMessage: z.ZodOptional<z.ZodString>;
    createdAt: z.ZodDate;
}, "strip", z.ZodTypeAny, {
    name: string;
    id: string;
    createdAt: Date;
    content: string;
    versionNumber: number;
    blockId: string;
    description?: string | undefined;
    rules?: {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    } | undefined;
    changeMessage?: string | undefined;
    changedFields?: string[] | undefined;
}, {
    name: string;
    id: string;
    createdAt: Date;
    content: string;
    versionNumber: number;
    blockId: string;
    description?: string | undefined;
    rules?: {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    } | undefined;
    changeMessage?: string | undefined;
    changedFields?: string[] | undefined;
}>;
export declare const createPromptBlockVersionResponseSchema: z.ZodObject<{
    name: z.ZodOptional<z.ZodString>;
    description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
    content: z.ZodOptional<z.ZodString>;
    rules: z.ZodOptional<z.ZodOptional<z.ZodObject<{
        operator: z.ZodEnum<["AND", "OR"]>;
        conditions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
            field: z.ZodString;
            operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
            value: z.ZodUnknown;
        }, "strip", z.ZodTypeAny, {
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        }, {
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        }>, z.ZodObject<{
            operator: z.ZodEnum<["AND", "OR"]>;
            conditions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
                field: z.ZodString;
                operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                value: z.ZodUnknown;
            }, "strip", z.ZodTypeAny, {
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            }, {
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            }>, z.ZodObject<{
                operator: z.ZodEnum<["AND", "OR"]>;
                conditions: z.ZodArray<z.ZodObject<{
                    field: z.ZodString;
                    operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                    value: z.ZodUnknown;
                }, "strip", z.ZodTypeAny, {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }, {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }>, "many">;
            }, "strip", z.ZodTypeAny, {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            }, {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            }>]>, "many">;
        }, "strip", z.ZodTypeAny, {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        }, {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        }>]>, "many">;
    }, "strip", z.ZodTypeAny, {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    }, {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    }>>>;
    changedFields: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
    changeMessage: z.ZodOptional<z.ZodOptional<z.ZodString>>;
} & {
    id: z.ZodString;
    blockId: z.ZodString;
    versionNumber: z.ZodNumber;
    createdAt: z.ZodDate;
}, "strip", z.ZodTypeAny, {
    id: string;
    createdAt: Date;
    versionNumber: number;
    blockId: string;
    name?: string | undefined;
    description?: string | undefined;
    content?: string | undefined;
    rules?: {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    } | undefined;
    changeMessage?: string | undefined;
    changedFields?: string[] | undefined;
}, {
    id: string;
    createdAt: Date;
    versionNumber: number;
    blockId: string;
    name?: string | undefined;
    description?: string | undefined;
    content?: string | undefined;
    rules?: {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    } | undefined;
    changeMessage?: string | undefined;
    changedFields?: string[] | undefined;
}>;
export declare const activatePromptBlockVersionResponseSchema: z.ZodObject<{
    success: z.ZodBoolean;
    message: z.ZodString;
    activeVersionId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    message: string;
    success: boolean;
    activeVersionId: string;
}, {
    message: string;
    success: boolean;
    activeVersionId: string;
}>;
export declare const restorePromptBlockVersionResponseSchema: z.ZodObject<{
    id: z.ZodString;
    blockId: z.ZodString;
    versionNumber: z.ZodNumber;
    name: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
    content: z.ZodString;
    rules: z.ZodOptional<z.ZodObject<{
        operator: z.ZodEnum<["AND", "OR"]>;
        conditions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
            field: z.ZodString;
            operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
            value: z.ZodUnknown;
        }, "strip", z.ZodTypeAny, {
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        }, {
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        }>, z.ZodObject<{
            operator: z.ZodEnum<["AND", "OR"]>;
            conditions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
                field: z.ZodString;
                operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                value: z.ZodUnknown;
            }, "strip", z.ZodTypeAny, {
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            }, {
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            }>, z.ZodObject<{
                operator: z.ZodEnum<["AND", "OR"]>;
                conditions: z.ZodArray<z.ZodObject<{
                    field: z.ZodString;
                    operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                    value: z.ZodUnknown;
                }, "strip", z.ZodTypeAny, {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }, {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }>, "many">;
            }, "strip", z.ZodTypeAny, {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            }, {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            }>]>, "many">;
        }, "strip", z.ZodTypeAny, {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        }, {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        }>]>, "many">;
    }, "strip", z.ZodTypeAny, {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    }, {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    }>>;
    changedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    changeMessage: z.ZodOptional<z.ZodString>;
    createdAt: z.ZodDate;
}, "strip", z.ZodTypeAny, {
    name: string;
    id: string;
    createdAt: Date;
    content: string;
    versionNumber: number;
    blockId: string;
    description?: string | undefined;
    rules?: {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    } | undefined;
    changeMessage?: string | undefined;
    changedFields?: string[] | undefined;
}, {
    name: string;
    id: string;
    createdAt: Date;
    content: string;
    versionNumber: number;
    blockId: string;
    description?: string | undefined;
    rules?: {
        operator: "AND" | "OR";
        conditions: ({
            field: string;
            operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
            value?: unknown;
        } | {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }[];
            })[];
        })[];
    } | undefined;
    changeMessage?: string | undefined;
    changedFields?: string[] | undefined;
}>;
export declare const deletePromptBlockVersionResponseSchema: z.ZodObject<{
    success: z.ZodBoolean;
    message: z.ZodString;
}, "strip", z.ZodTypeAny, {
    message: string;
    success: boolean;
}, {
    message: string;
    success: boolean;
}>;
export declare const comparePromptBlockVersionsResponseSchema: z.ZodObject<{
    diffs: z.ZodArray<z.ZodObject<{
        field: z.ZodString;
        previousValue: z.ZodUnknown;
        currentValue: z.ZodUnknown;
    }, "strip", z.ZodTypeAny, {
        field: string;
        previousValue?: unknown;
        currentValue?: unknown;
    }, {
        field: string;
        previousValue?: unknown;
        currentValue?: unknown;
    }>, "many">;
    fromVersion: z.ZodObject<{
        id: z.ZodString;
        blockId: z.ZodString;
        versionNumber: z.ZodNumber;
        name: z.ZodString;
        description: z.ZodOptional<z.ZodString>;
        content: z.ZodString;
        rules: z.ZodOptional<z.ZodObject<{
            operator: z.ZodEnum<["AND", "OR"]>;
            conditions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
                field: z.ZodString;
                operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                value: z.ZodUnknown;
            }, "strip", z.ZodTypeAny, {
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            }, {
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            }>, z.ZodObject<{
                operator: z.ZodEnum<["AND", "OR"]>;
                conditions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
                    field: z.ZodString;
                    operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                    value: z.ZodUnknown;
                }, "strip", z.ZodTypeAny, {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }, {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }>, z.ZodObject<{
                    operator: z.ZodEnum<["AND", "OR"]>;
                    conditions: z.ZodArray<z.ZodObject<{
                        field: z.ZodString;
                        operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                        value: z.ZodUnknown;
                    }, "strip", z.ZodTypeAny, {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }, {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }>, "many">;
                }, "strip", z.ZodTypeAny, {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                }, {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                }>]>, "many">;
            }, "strip", z.ZodTypeAny, {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            }, {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            }>]>, "many">;
        }, "strip", z.ZodTypeAny, {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        }, {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        }>>;
        changedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        changeMessage: z.ZodOptional<z.ZodString>;
        createdAt: z.ZodDate;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        createdAt: Date;
        content: string;
        versionNumber: number;
        blockId: string;
        description?: string | undefined;
        rules?: {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        } | undefined;
        changeMessage?: string | undefined;
        changedFields?: string[] | undefined;
    }, {
        name: string;
        id: string;
        createdAt: Date;
        content: string;
        versionNumber: number;
        blockId: string;
        description?: string | undefined;
        rules?: {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        } | undefined;
        changeMessage?: string | undefined;
        changedFields?: string[] | undefined;
    }>;
    toVersion: z.ZodObject<{
        id: z.ZodString;
        blockId: z.ZodString;
        versionNumber: z.ZodNumber;
        name: z.ZodString;
        description: z.ZodOptional<z.ZodString>;
        content: z.ZodString;
        rules: z.ZodOptional<z.ZodObject<{
            operator: z.ZodEnum<["AND", "OR"]>;
            conditions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
                field: z.ZodString;
                operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                value: z.ZodUnknown;
            }, "strip", z.ZodTypeAny, {
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            }, {
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            }>, z.ZodObject<{
                operator: z.ZodEnum<["AND", "OR"]>;
                conditions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
                    field: z.ZodString;
                    operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                    value: z.ZodUnknown;
                }, "strip", z.ZodTypeAny, {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }, {
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                }>, z.ZodObject<{
                    operator: z.ZodEnum<["AND", "OR"]>;
                    conditions: z.ZodArray<z.ZodObject<{
                        field: z.ZodString;
                        operator: z.ZodEnum<["equals", "not_equals", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal", "less_than_or_equal", "in", "not_in", "exists", "not_exists"]>;
                        value: z.ZodUnknown;
                    }, "strip", z.ZodTypeAny, {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }, {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }>, "many">;
                }, "strip", z.ZodTypeAny, {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                }, {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                }>]>, "many">;
            }, "strip", z.ZodTypeAny, {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            }, {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            }>]>, "many">;
        }, "strip", z.ZodTypeAny, {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        }, {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        }>>;
        changedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        changeMessage: z.ZodOptional<z.ZodString>;
        createdAt: z.ZodDate;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        createdAt: Date;
        content: string;
        versionNumber: number;
        blockId: string;
        description?: string | undefined;
        rules?: {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        } | undefined;
        changeMessage?: string | undefined;
        changedFields?: string[] | undefined;
    }, {
        name: string;
        id: string;
        createdAt: Date;
        content: string;
        versionNumber: number;
        blockId: string;
        description?: string | undefined;
        rules?: {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        } | undefined;
        changeMessage?: string | undefined;
        changedFields?: string[] | undefined;
    }>;
}, "strip", z.ZodTypeAny, {
    diffs: {
        field: string;
        previousValue?: unknown;
        currentValue?: unknown;
    }[];
    fromVersion: {
        name: string;
        id: string;
        createdAt: Date;
        content: string;
        versionNumber: number;
        blockId: string;
        description?: string | undefined;
        rules?: {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        } | undefined;
        changeMessage?: string | undefined;
        changedFields?: string[] | undefined;
    };
    toVersion: {
        name: string;
        id: string;
        createdAt: Date;
        content: string;
        versionNumber: number;
        blockId: string;
        description?: string | undefined;
        rules?: {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        } | undefined;
        changeMessage?: string | undefined;
        changedFields?: string[] | undefined;
    };
}, {
    diffs: {
        field: string;
        previousValue?: unknown;
        currentValue?: unknown;
    }[];
    fromVersion: {
        name: string;
        id: string;
        createdAt: Date;
        content: string;
        versionNumber: number;
        blockId: string;
        description?: string | undefined;
        rules?: {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        } | undefined;
        changeMessage?: string | undefined;
        changedFields?: string[] | undefined;
    };
    toVersion: {
        name: string;
        id: string;
        createdAt: Date;
        content: string;
        versionNumber: number;
        blockId: string;
        description?: string | undefined;
        rules?: {
            operator: "AND" | "OR";
            conditions: ({
                field: string;
                operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                value?: unknown;
            } | {
                operator: "AND" | "OR";
                conditions: ({
                    field: string;
                    operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                    value?: unknown;
                } | {
                    operator: "AND" | "OR";
                    conditions: {
                        field: string;
                        operator: "equals" | "not_equals" | "contains" | "not_contains" | "greater_than" | "less_than" | "greater_than_or_equal" | "less_than_or_equal" | "in" | "not_in" | "exists" | "not_exists";
                        value?: unknown;
                    }[];
                })[];
            })[];
        } | undefined;
        changeMessage?: string | undefined;
        changedFields?: string[] | undefined;
    };
}>;
export { versionDiffEntrySchema };
//# sourceMappingURL=prompt-block-versions.d.ts.map