import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { OrqError } from "./orqerror.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type ErrorT = {
    message: string;
    type: string;
    param: string | null;
    code: string;
};
/**
 * Returns validation error
 */
export type CreateModerationResponseBodyData = {
    error: ErrorT;
};
/**
 * Returns validation error
 */
export declare class CreateModerationResponseBody extends OrqError {
    error: ErrorT;
    /** The original data that was passed to this error instance. */
    data$: CreateModerationResponseBodyData;
    constructor(err: CreateModerationResponseBodyData, httpMeta: {
        response: Response;
        request: Request;
        body: string;
    });
}
/** @internal */
export declare const ErrorT$inboundSchema: z.ZodType<ErrorT, z.ZodTypeDef, unknown>;
export declare function errorFromJSON(jsonString: string): SafeParseResult<ErrorT, SDKValidationError>;
/** @internal */
export declare const CreateModerationResponseBody$inboundSchema: z.ZodType<CreateModerationResponseBody, z.ZodTypeDef, unknown>;
//# sourceMappingURL=createmoderation.d.ts.map