import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { ProviderErrorApiModel, ProviderErrorApiModel$Outbound } from "./providererrorapimodel.js";
import { UnifiedWarningApiModel, UnifiedWarningApiModel$Outbound } from "./unifiedwarningapimodel.js";
export type WriteResultApiModel = {
    message?: string | null | undefined;
    providerErrors?: Array<ProviderErrorApiModel> | null | undefined;
    statusCode?: number | null | undefined;
    timestamp?: Date | null | undefined;
    unifiedWarnings?: Array<UnifiedWarningApiModel> | null | undefined;
};
/** @internal */
export declare const WriteResultApiModel$inboundSchema: z.ZodType<WriteResultApiModel, z.ZodTypeDef, unknown>;
/** @internal */
export type WriteResultApiModel$Outbound = {
    message?: string | null | undefined;
    provider_errors?: Array<ProviderErrorApiModel$Outbound> | null | undefined;
    statusCode?: number | null | undefined;
    timestamp?: string | null | undefined;
    unified_warnings?: Array<UnifiedWarningApiModel$Outbound> | null | undefined;
};
/** @internal */
export declare const WriteResultApiModel$outboundSchema: z.ZodType<WriteResultApiModel$Outbound, z.ZodTypeDef, WriteResultApiModel>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace WriteResultApiModel$ {
    /** @deprecated use `WriteResultApiModel$inboundSchema` instead. */
    const inboundSchema: z.ZodType<WriteResultApiModel, z.ZodTypeDef, unknown>;
    /** @deprecated use `WriteResultApiModel$outboundSchema` instead. */
    const outboundSchema: z.ZodType<WriteResultApiModel$Outbound, z.ZodTypeDef, WriteResultApiModel>;
    /** @deprecated use `WriteResultApiModel$Outbound` instead. */
    type Outbound = WriteResultApiModel$Outbound;
}
export declare function writeResultApiModelToJSON(writeResultApiModel: WriteResultApiModel): string;
export declare function writeResultApiModelFromJSON(jsonString: string): SafeParseResult<WriteResultApiModel, SDKValidationError>;
//# sourceMappingURL=writeresultapimodel.d.ts.map