import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { BanWordsConfig, BanWordsConfig$Outbound } from "./banwordsconfig.js"; /** * Banned words guardrail */ export type BanWordsGuardrail = { mode: "ban_words"; /** * Whether this guardrail is enabled */ enabled?: boolean | undefined; /** * Also apply this guardrail to model output, not just the request */ checkOutput?: boolean | undefined; /** * Configuration for banned words guardrail */ config?: BanWordsConfig | undefined; }; /** @internal */ export declare const BanWordsGuardrail$inboundSchema: z.ZodType; /** @internal */ export type BanWordsGuardrail$Outbound = { mode: "ban_words"; enabled: boolean; check_output?: boolean | undefined; config?: BanWordsConfig$Outbound | undefined; }; /** @internal */ export declare const BanWordsGuardrail$outboundSchema: z.ZodType; export declare function banWordsGuardrailToJSON(banWordsGuardrail: BanWordsGuardrail): string; export declare function banWordsGuardrailFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=banwordsguardrail.d.ts.map