import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type ApiErrorError = {
    message: string;
};
/** @internal */
export declare const ApiErrorError$inboundSchema: z.ZodType<ApiErrorError, z.ZodTypeDef, unknown>;
/** @internal */
export type ApiErrorError$Outbound = {
    message: string;
};
/** @internal */
export declare const ApiErrorError$outboundSchema: z.ZodType<ApiErrorError$Outbound, z.ZodTypeDef, ApiErrorError>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ApiErrorError$ {
    /** @deprecated use `ApiErrorError$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ApiErrorError, z.ZodTypeDef, unknown>;
    /** @deprecated use `ApiErrorError$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ApiErrorError$Outbound, z.ZodTypeDef, ApiErrorError>;
    /** @deprecated use `ApiErrorError$Outbound` instead. */
    type Outbound = ApiErrorError$Outbound;
}
export declare function apiErrorErrorToJSON(apiErrorError: ApiErrorError): string;
export declare function apiErrorErrorFromJSON(jsonString: string): SafeParseResult<ApiErrorError, SDKValidationError>;
//# sourceMappingURL=apierror.d.ts.map