import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Refusal response when the model declines to answer due to safety policies, content moderation, or capability limitations. */ export type Refusal = { /** * The content type identifier for refusal responses. */ type: "refusal"; /** * The refusal message explaining why the model declined to respond to the request. */ refusal: string; }; /** @internal */ export declare const Refusal$inboundSchema: z.ZodType; /** @internal */ export type Refusal$Outbound = { type: "refusal"; refusal: string; }; /** @internal */ export declare const Refusal$outboundSchema: z.ZodType; export declare function refusalToJSON(refusal: Refusal): string; export declare function refusalFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=refusal.d.ts.map