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