/**
 * GET /stored/prompt-blocks/:promptBlockId/versions - List all versions for a prompt block
 */
export declare const LIST_PROMPT_BLOCK_VERSIONS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    promptBlockId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    promptBlockId: string;
}, {
    promptBlockId: string;
}>, import("zod").ZodObject<{
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
} & {
    orderBy: import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<["versionNumber", "createdAt"]>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<["ASC", "DESC"]>>;
    }, "strip", import("zod").ZodTypeAny, {
        field?: "createdAt" | "versionNumber" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }, {
        field?: "createdAt" | "versionNumber" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }>>;
}, "strip", import("zod").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;
}> | import("zod").ZodObject<{
    perPage: import("zod").ZodOptional<import("zod").ZodNumber>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
} & {
    orderBy: import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<["versionNumber", "createdAt"]>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<["ASC", "DESC"]>>;
    }, "strip", import("zod").ZodTypeAny, {
        field?: "createdAt" | "versionNumber" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }, {
        field?: "createdAt" | "versionNumber" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }>>;
}, "strip", import("zod").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;
}>, 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;
    }[];
}, "json">;
/**
 * POST /stored/prompt-blocks/:promptBlockId/versions - Create a new version snapshot
 */
export declare const CREATE_PROMPT_BLOCK_VERSION_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    promptBlockId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    promptBlockId: string;
}, {
    promptBlockId: string;
}>, undefined, import("zod").ZodObject<{
    changeMessage: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {
    changeMessage?: string | undefined;
}, {
    changeMessage?: 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;
}, "json">;
/**
 * GET /stored/prompt-blocks/:promptBlockId/versions/:versionId - Get a specific version
 */
export declare const GET_PROMPT_BLOCK_VERSION_ROUTE: import("../server-adapter").ServerRoute<{
    versionId: string;
    promptBlockId: string;
}, {
    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;
}, "json">;
/**
 * POST /stored/prompt-blocks/:promptBlockId/versions/:versionId/activate - Set a version as active
 */
export declare const ACTIVATE_PROMPT_BLOCK_VERSION_ROUTE: import("../server-adapter").ServerRoute<{
    versionId: string;
    promptBlockId: string;
}, {
    message: string;
    success: boolean;
    activeVersionId: string;
}, "json">;
/**
 * POST /stored/prompt-blocks/:promptBlockId/versions/:versionId/restore - Restore prompt block to a version
 */
export declare const RESTORE_PROMPT_BLOCK_VERSION_ROUTE: import("../server-adapter").ServerRoute<{
    versionId: string;
    promptBlockId: string;
}, {
    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;
}, "json">;
/**
 * DELETE /stored/prompt-blocks/:promptBlockId/versions/:versionId - Delete a version
 */
export declare const DELETE_PROMPT_BLOCK_VERSION_ROUTE: import("../server-adapter").ServerRoute<{
    versionId: string;
    promptBlockId: string;
}, {
    message: string;
    success: boolean;
}, "json">;
/**
 * GET /stored/prompt-blocks/:promptBlockId/versions/compare - Compare two versions
 */
export declare const COMPARE_PROMPT_BLOCK_VERSIONS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    promptBlockId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    promptBlockId: string;
}, {
    promptBlockId: string;
}>, import("zod").ZodObject<{
    from: import("zod").ZodString;
    to: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    from: string;
    to: string;
}, {
    from: string;
    to: 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;
    };
}, "json">;
//# sourceMappingURL=prompt-block-versions.d.ts.map