import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type GuardrailRuleUpdateRequestBody = {
    description?: string | undefined;
    displayName?: string | undefined;
    enabled?: boolean | undefined;
    expression?: components.ExpressionInput | undefined;
    guardrails?: Array<components.GuardrailRef> | undefined;
    timeout?: number | undefined;
};
export type GuardrailRuleUpdateRequest = {
    /**
     * The ID of the guardrail rule
     */
    guardrailRuleId: string;
    requestBody: GuardrailRuleUpdateRequestBody;
};
/**
 * Guardrail rule updated successfully
 */
export type GuardrailRuleUpdateResponseBody = {
    id: string;
    createdAt: Date;
    createdById: string;
    description?: string | undefined;
    displayName: string;
    enabled: boolean;
    expression?: components.Expression | undefined;
    guardrails?: Array<components.GuardrailRef> | null | undefined;
    projectId: string;
    timeout: number;
    updatedAt: Date;
    updatedById: string;
};
/** @internal */
export type GuardrailRuleUpdateRequestBody$Outbound = {
    description?: string | undefined;
    display_name?: string | undefined;
    enabled?: boolean | undefined;
    expression?: components.ExpressionInput$Outbound | undefined;
    guardrails?: Array<components.GuardrailRef$Outbound> | undefined;
    timeout?: number | undefined;
};
/** @internal */
export declare const GuardrailRuleUpdateRequestBody$outboundSchema: z.ZodType<GuardrailRuleUpdateRequestBody$Outbound, z.ZodTypeDef, GuardrailRuleUpdateRequestBody>;
export declare function guardrailRuleUpdateRequestBodyToJSON(guardrailRuleUpdateRequestBody: GuardrailRuleUpdateRequestBody): string;
/** @internal */
export type GuardrailRuleUpdateRequest$Outbound = {
    guardrail_rule_id: string;
    RequestBody: GuardrailRuleUpdateRequestBody$Outbound;
};
/** @internal */
export declare const GuardrailRuleUpdateRequest$outboundSchema: z.ZodType<GuardrailRuleUpdateRequest$Outbound, z.ZodTypeDef, GuardrailRuleUpdateRequest>;
export declare function guardrailRuleUpdateRequestToJSON(guardrailRuleUpdateRequest: GuardrailRuleUpdateRequest): string;
/** @internal */
export declare const GuardrailRuleUpdateResponseBody$inboundSchema: z.ZodType<GuardrailRuleUpdateResponseBody, z.ZodTypeDef, unknown>;
export declare function guardrailRuleUpdateResponseBodyFromJSON(jsonString: string): SafeParseResult<GuardrailRuleUpdateResponseBody, SDKValidationError>;
//# sourceMappingURL=guardrailruleupdate.d.ts.map