import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * A message part containing a refusal message.
 */
export type RefusalPartSchema = {
    /**
     * The type of the content part. Always `refusal`.
     */
    type: "refusal";
    /**
     * The refusal message generated by the model.
     */
    refusal?: string | undefined;
};
/** @internal */
export declare const RefusalPartSchema$inboundSchema: z.ZodType<RefusalPartSchema, z.ZodTypeDef, unknown>;
/** @internal */
export type RefusalPartSchema$Outbound = {
    type: "refusal";
    refusal?: string | undefined;
};
/** @internal */
export declare const RefusalPartSchema$outboundSchema: z.ZodType<RefusalPartSchema$Outbound, z.ZodTypeDef, RefusalPartSchema>;
export declare function refusalPartSchemaToJSON(refusalPartSchema: RefusalPartSchema): string;
export declare function refusalPartSchemaFromJSON(jsonString: string): SafeParseResult<RefusalPartSchema, SDKValidationError>;
//# sourceMappingURL=refusalpartschema.d.ts.map