import z from 'zod';
import { versionDiffEntrySchema } from './version-common.js';
export declare const listPromptBlockVersionsQuerySchema: z.ZodObject<{
    perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    orderBy: z.ZodOptional<z.ZodObject<{
        field: z.ZodOptional<z.ZodEnum<{
            createdAt: "createdAt";
            versionNumber: "versionNumber";
        }>>;
        direction: z.ZodOptional<z.ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, z.core.$strip>>;
}, z.core.$strip> | z.ZodObject<{
    perPage: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
    page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    orderBy: z.ZodOptional<z.ZodObject<{
        field: z.ZodOptional<z.ZodEnum<{
            createdAt: "createdAt";
            versionNumber: "versionNumber";
        }>>;
        direction: z.ZodOptional<z.ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, z.core.$strip>>;
}, z.core.$strip>;
export declare const comparePromptBlockVersionsQuerySchema: z.ZodObject<{
    from: z.ZodString;
    to: z.ZodString;
}, z.core.$strip>;
export declare const createPromptBlockVersionBodySchema: z.ZodObject<{
    changeMessage: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const promptBlockVersionPathParams: z.ZodObject<{
    promptBlockId: z.ZodString;
}, z.core.$strip>;
export declare const promptBlockVersionIdPathParams: z.ZodObject<{
    promptBlockId: z.ZodString;
    versionId: z.ZodString;
}, z.core.$strip>;
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: "AND";
            OR: "OR";
        }>;
        conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
            field: z.ZodString;
            operator: z.ZodEnum<{
                in: "in";
                equals: "equals";
                not_equals: "not_equals";
                contains: "contains";
                not_contains: "not_contains";
                greater_than: "greater_than";
                less_than: "less_than";
                greater_than_or_equal: "greater_than_or_equal";
                less_than_or_equal: "less_than_or_equal";
                not_in: "not_in";
                exists: "exists";
                not_exists: "not_exists";
            }>;
            value: z.ZodOptional<z.ZodUnknown>;
        }, z.core.$strip>, z.ZodObject<{
            operator: z.ZodEnum<{
                AND: "AND";
                OR: "OR";
            }>;
            conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
                field: z.ZodString;
                operator: z.ZodEnum<{
                    in: "in";
                    equals: "equals";
                    not_equals: "not_equals";
                    contains: "contains";
                    not_contains: "not_contains";
                    greater_than: "greater_than";
                    less_than: "less_than";
                    greater_than_or_equal: "greater_than_or_equal";
                    less_than_or_equal: "less_than_or_equal";
                    not_in: "not_in";
                    exists: "exists";
                    not_exists: "not_exists";
                }>;
                value: z.ZodOptional<z.ZodUnknown>;
            }, z.core.$strip>, z.ZodObject<{
                operator: z.ZodEnum<{
                    AND: "AND";
                    OR: "OR";
                }>;
                conditions: z.ZodArray<z.ZodObject<{
                    field: z.ZodString;
                    operator: z.ZodEnum<{
                        in: "in";
                        equals: "equals";
                        not_equals: "not_equals";
                        contains: "contains";
                        not_contains: "not_contains";
                        greater_than: "greater_than";
                        less_than: "less_than";
                        greater_than_or_equal: "greater_than_or_equal";
                        less_than_or_equal: "less_than_or_equal";
                        not_in: "not_in";
                        exists: "exists";
                        not_exists: "not_exists";
                    }>;
                    value: z.ZodOptional<z.ZodUnknown>;
                }, z.core.$strip>>;
            }, z.core.$strip>]>>;
        }, z.core.$strip>]>>;
    }, z.core.$strip>>;
    requestContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    changedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
    changeMessage: z.ZodOptional<z.ZodString>;
    createdAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>;
export declare const listPromptBlockVersionsResponseSchema: z.ZodObject<{
    total: z.ZodNumber;
    page: z.ZodNumber;
    perPage: z.ZodUnion<readonly [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: "AND";
                OR: "OR";
            }>;
            conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
                field: z.ZodString;
                operator: z.ZodEnum<{
                    in: "in";
                    equals: "equals";
                    not_equals: "not_equals";
                    contains: "contains";
                    not_contains: "not_contains";
                    greater_than: "greater_than";
                    less_than: "less_than";
                    greater_than_or_equal: "greater_than_or_equal";
                    less_than_or_equal: "less_than_or_equal";
                    not_in: "not_in";
                    exists: "exists";
                    not_exists: "not_exists";
                }>;
                value: z.ZodOptional<z.ZodUnknown>;
            }, z.core.$strip>, z.ZodObject<{
                operator: z.ZodEnum<{
                    AND: "AND";
                    OR: "OR";
                }>;
                conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
                    field: z.ZodString;
                    operator: z.ZodEnum<{
                        in: "in";
                        equals: "equals";
                        not_equals: "not_equals";
                        contains: "contains";
                        not_contains: "not_contains";
                        greater_than: "greater_than";
                        less_than: "less_than";
                        greater_than_or_equal: "greater_than_or_equal";
                        less_than_or_equal: "less_than_or_equal";
                        not_in: "not_in";
                        exists: "exists";
                        not_exists: "not_exists";
                    }>;
                    value: z.ZodOptional<z.ZodUnknown>;
                }, z.core.$strip>, z.ZodObject<{
                    operator: z.ZodEnum<{
                        AND: "AND";
                        OR: "OR";
                    }>;
                    conditions: z.ZodArray<z.ZodObject<{
                        field: z.ZodString;
                        operator: z.ZodEnum<{
                            in: "in";
                            equals: "equals";
                            not_equals: "not_equals";
                            contains: "contains";
                            not_contains: "not_contains";
                            greater_than: "greater_than";
                            less_than: "less_than";
                            greater_than_or_equal: "greater_than_or_equal";
                            less_than_or_equal: "less_than_or_equal";
                            not_in: "not_in";
                            exists: "exists";
                            not_exists: "not_exists";
                        }>;
                        value: z.ZodOptional<z.ZodUnknown>;
                    }, z.core.$strip>>;
                }, z.core.$strip>]>>;
            }, z.core.$strip>]>>;
        }, z.core.$strip>>;
        requestContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        changedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
        changeMessage: z.ZodOptional<z.ZodString>;
        createdAt: z.ZodCoercedDate<unknown>;
    }, z.core.$strip>>;
}, z.core.$strip>;
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: "AND";
            OR: "OR";
        }>;
        conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
            field: z.ZodString;
            operator: z.ZodEnum<{
                in: "in";
                equals: "equals";
                not_equals: "not_equals";
                contains: "contains";
                not_contains: "not_contains";
                greater_than: "greater_than";
                less_than: "less_than";
                greater_than_or_equal: "greater_than_or_equal";
                less_than_or_equal: "less_than_or_equal";
                not_in: "not_in";
                exists: "exists";
                not_exists: "not_exists";
            }>;
            value: z.ZodOptional<z.ZodUnknown>;
        }, z.core.$strip>, z.ZodObject<{
            operator: z.ZodEnum<{
                AND: "AND";
                OR: "OR";
            }>;
            conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
                field: z.ZodString;
                operator: z.ZodEnum<{
                    in: "in";
                    equals: "equals";
                    not_equals: "not_equals";
                    contains: "contains";
                    not_contains: "not_contains";
                    greater_than: "greater_than";
                    less_than: "less_than";
                    greater_than_or_equal: "greater_than_or_equal";
                    less_than_or_equal: "less_than_or_equal";
                    not_in: "not_in";
                    exists: "exists";
                    not_exists: "not_exists";
                }>;
                value: z.ZodOptional<z.ZodUnknown>;
            }, z.core.$strip>, z.ZodObject<{
                operator: z.ZodEnum<{
                    AND: "AND";
                    OR: "OR";
                }>;
                conditions: z.ZodArray<z.ZodObject<{
                    field: z.ZodString;
                    operator: z.ZodEnum<{
                        in: "in";
                        equals: "equals";
                        not_equals: "not_equals";
                        contains: "contains";
                        not_contains: "not_contains";
                        greater_than: "greater_than";
                        less_than: "less_than";
                        greater_than_or_equal: "greater_than_or_equal";
                        less_than_or_equal: "less_than_or_equal";
                        not_in: "not_in";
                        exists: "exists";
                        not_exists: "not_exists";
                    }>;
                    value: z.ZodOptional<z.ZodUnknown>;
                }, z.core.$strip>>;
            }, z.core.$strip>]>>;
        }, z.core.$strip>]>>;
    }, z.core.$strip>>;
    requestContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    changedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
    changeMessage: z.ZodOptional<z.ZodString>;
    createdAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>;
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: "AND";
            OR: "OR";
        }>;
        conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
            field: z.ZodString;
            operator: z.ZodEnum<{
                in: "in";
                equals: "equals";
                not_equals: "not_equals";
                contains: "contains";
                not_contains: "not_contains";
                greater_than: "greater_than";
                less_than: "less_than";
                greater_than_or_equal: "greater_than_or_equal";
                less_than_or_equal: "less_than_or_equal";
                not_in: "not_in";
                exists: "exists";
                not_exists: "not_exists";
            }>;
            value: z.ZodOptional<z.ZodUnknown>;
        }, z.core.$strip>, z.ZodObject<{
            operator: z.ZodEnum<{
                AND: "AND";
                OR: "OR";
            }>;
            conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
                field: z.ZodString;
                operator: z.ZodEnum<{
                    in: "in";
                    equals: "equals";
                    not_equals: "not_equals";
                    contains: "contains";
                    not_contains: "not_contains";
                    greater_than: "greater_than";
                    less_than: "less_than";
                    greater_than_or_equal: "greater_than_or_equal";
                    less_than_or_equal: "less_than_or_equal";
                    not_in: "not_in";
                    exists: "exists";
                    not_exists: "not_exists";
                }>;
                value: z.ZodOptional<z.ZodUnknown>;
            }, z.core.$strip>, z.ZodObject<{
                operator: z.ZodEnum<{
                    AND: "AND";
                    OR: "OR";
                }>;
                conditions: z.ZodArray<z.ZodObject<{
                    field: z.ZodString;
                    operator: z.ZodEnum<{
                        in: "in";
                        equals: "equals";
                        not_equals: "not_equals";
                        contains: "contains";
                        not_contains: "not_contains";
                        greater_than: "greater_than";
                        less_than: "less_than";
                        greater_than_or_equal: "greater_than_or_equal";
                        less_than_or_equal: "less_than_or_equal";
                        not_in: "not_in";
                        exists: "exists";
                        not_exists: "not_exists";
                    }>;
                    value: z.ZodOptional<z.ZodUnknown>;
                }, z.core.$strip>>;
            }, z.core.$strip>]>>;
        }, z.core.$strip>]>>;
    }, z.core.$strip>>>;
    requestContextSchema: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    changedFields: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
    changeMessage: z.ZodOptional<z.ZodOptional<z.ZodString>>;
    id: z.ZodString;
    blockId: z.ZodString;
    versionNumber: z.ZodNumber;
    createdAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>;
export declare const activatePromptBlockVersionResponseSchema: z.ZodObject<{
    success: z.ZodBoolean;
    message: z.ZodString;
    activeVersionId: z.ZodString;
}, z.core.$strip>;
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: "AND";
            OR: "OR";
        }>;
        conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
            field: z.ZodString;
            operator: z.ZodEnum<{
                in: "in";
                equals: "equals";
                not_equals: "not_equals";
                contains: "contains";
                not_contains: "not_contains";
                greater_than: "greater_than";
                less_than: "less_than";
                greater_than_or_equal: "greater_than_or_equal";
                less_than_or_equal: "less_than_or_equal";
                not_in: "not_in";
                exists: "exists";
                not_exists: "not_exists";
            }>;
            value: z.ZodOptional<z.ZodUnknown>;
        }, z.core.$strip>, z.ZodObject<{
            operator: z.ZodEnum<{
                AND: "AND";
                OR: "OR";
            }>;
            conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
                field: z.ZodString;
                operator: z.ZodEnum<{
                    in: "in";
                    equals: "equals";
                    not_equals: "not_equals";
                    contains: "contains";
                    not_contains: "not_contains";
                    greater_than: "greater_than";
                    less_than: "less_than";
                    greater_than_or_equal: "greater_than_or_equal";
                    less_than_or_equal: "less_than_or_equal";
                    not_in: "not_in";
                    exists: "exists";
                    not_exists: "not_exists";
                }>;
                value: z.ZodOptional<z.ZodUnknown>;
            }, z.core.$strip>, z.ZodObject<{
                operator: z.ZodEnum<{
                    AND: "AND";
                    OR: "OR";
                }>;
                conditions: z.ZodArray<z.ZodObject<{
                    field: z.ZodString;
                    operator: z.ZodEnum<{
                        in: "in";
                        equals: "equals";
                        not_equals: "not_equals";
                        contains: "contains";
                        not_contains: "not_contains";
                        greater_than: "greater_than";
                        less_than: "less_than";
                        greater_than_or_equal: "greater_than_or_equal";
                        less_than_or_equal: "less_than_or_equal";
                        not_in: "not_in";
                        exists: "exists";
                        not_exists: "not_exists";
                    }>;
                    value: z.ZodOptional<z.ZodUnknown>;
                }, z.core.$strip>>;
            }, z.core.$strip>]>>;
        }, z.core.$strip>]>>;
    }, z.core.$strip>>;
    requestContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    changedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
    changeMessage: z.ZodOptional<z.ZodString>;
    createdAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>;
export declare const deletePromptBlockVersionResponseSchema: z.ZodObject<{
    success: z.ZodBoolean;
    message: z.ZodString;
}, z.core.$strip>;
export declare const comparePromptBlockVersionsResponseSchema: z.ZodObject<{
    diffs: z.ZodArray<z.ZodObject<{
        field: z.ZodString;
        previousValue: z.ZodUnknown;
        currentValue: z.ZodUnknown;
    }, z.core.$strip>>;
    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: "AND";
                OR: "OR";
            }>;
            conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
                field: z.ZodString;
                operator: z.ZodEnum<{
                    in: "in";
                    equals: "equals";
                    not_equals: "not_equals";
                    contains: "contains";
                    not_contains: "not_contains";
                    greater_than: "greater_than";
                    less_than: "less_than";
                    greater_than_or_equal: "greater_than_or_equal";
                    less_than_or_equal: "less_than_or_equal";
                    not_in: "not_in";
                    exists: "exists";
                    not_exists: "not_exists";
                }>;
                value: z.ZodOptional<z.ZodUnknown>;
            }, z.core.$strip>, z.ZodObject<{
                operator: z.ZodEnum<{
                    AND: "AND";
                    OR: "OR";
                }>;
                conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
                    field: z.ZodString;
                    operator: z.ZodEnum<{
                        in: "in";
                        equals: "equals";
                        not_equals: "not_equals";
                        contains: "contains";
                        not_contains: "not_contains";
                        greater_than: "greater_than";
                        less_than: "less_than";
                        greater_than_or_equal: "greater_than_or_equal";
                        less_than_or_equal: "less_than_or_equal";
                        not_in: "not_in";
                        exists: "exists";
                        not_exists: "not_exists";
                    }>;
                    value: z.ZodOptional<z.ZodUnknown>;
                }, z.core.$strip>, z.ZodObject<{
                    operator: z.ZodEnum<{
                        AND: "AND";
                        OR: "OR";
                    }>;
                    conditions: z.ZodArray<z.ZodObject<{
                        field: z.ZodString;
                        operator: z.ZodEnum<{
                            in: "in";
                            equals: "equals";
                            not_equals: "not_equals";
                            contains: "contains";
                            not_contains: "not_contains";
                            greater_than: "greater_than";
                            less_than: "less_than";
                            greater_than_or_equal: "greater_than_or_equal";
                            less_than_or_equal: "less_than_or_equal";
                            not_in: "not_in";
                            exists: "exists";
                            not_exists: "not_exists";
                        }>;
                        value: z.ZodOptional<z.ZodUnknown>;
                    }, z.core.$strip>>;
                }, z.core.$strip>]>>;
            }, z.core.$strip>]>>;
        }, z.core.$strip>>;
        requestContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        changedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
        changeMessage: z.ZodOptional<z.ZodString>;
        createdAt: z.ZodCoercedDate<unknown>;
    }, z.core.$strip>;
    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: "AND";
                OR: "OR";
            }>;
            conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
                field: z.ZodString;
                operator: z.ZodEnum<{
                    in: "in";
                    equals: "equals";
                    not_equals: "not_equals";
                    contains: "contains";
                    not_contains: "not_contains";
                    greater_than: "greater_than";
                    less_than: "less_than";
                    greater_than_or_equal: "greater_than_or_equal";
                    less_than_or_equal: "less_than_or_equal";
                    not_in: "not_in";
                    exists: "exists";
                    not_exists: "not_exists";
                }>;
                value: z.ZodOptional<z.ZodUnknown>;
            }, z.core.$strip>, z.ZodObject<{
                operator: z.ZodEnum<{
                    AND: "AND";
                    OR: "OR";
                }>;
                conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
                    field: z.ZodString;
                    operator: z.ZodEnum<{
                        in: "in";
                        equals: "equals";
                        not_equals: "not_equals";
                        contains: "contains";
                        not_contains: "not_contains";
                        greater_than: "greater_than";
                        less_than: "less_than";
                        greater_than_or_equal: "greater_than_or_equal";
                        less_than_or_equal: "less_than_or_equal";
                        not_in: "not_in";
                        exists: "exists";
                        not_exists: "not_exists";
                    }>;
                    value: z.ZodOptional<z.ZodUnknown>;
                }, z.core.$strip>, z.ZodObject<{
                    operator: z.ZodEnum<{
                        AND: "AND";
                        OR: "OR";
                    }>;
                    conditions: z.ZodArray<z.ZodObject<{
                        field: z.ZodString;
                        operator: z.ZodEnum<{
                            in: "in";
                            equals: "equals";
                            not_equals: "not_equals";
                            contains: "contains";
                            not_contains: "not_contains";
                            greater_than: "greater_than";
                            less_than: "less_than";
                            greater_than_or_equal: "greater_than_or_equal";
                            less_than_or_equal: "less_than_or_equal";
                            not_in: "not_in";
                            exists: "exists";
                            not_exists: "not_exists";
                        }>;
                        value: z.ZodOptional<z.ZodUnknown>;
                    }, z.core.$strip>>;
                }, z.core.$strip>]>>;
            }, z.core.$strip>]>>;
        }, z.core.$strip>>;
        requestContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        changedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
        changeMessage: z.ZodOptional<z.ZodString>;
        createdAt: z.ZodCoercedDate<unknown>;
    }, z.core.$strip>;
}, z.core.$strip>;
export { versionDiffEntrySchema };
//# sourceMappingURL=prompt-block-versions.d.ts.map