import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type StatusReason = {
    code?: string | null | undefined;
    description?: string | null | undefined;
    timestamp: Date;
};
/** @internal */
export declare const StatusReason$inboundSchema: z.ZodType<StatusReason, z.ZodTypeDef, unknown>;
/** @internal */
export type StatusReason$Outbound = {
    code?: string | null | undefined;
    description?: string | null | undefined;
    timestamp: string;
};
/** @internal */
export declare const StatusReason$outboundSchema: z.ZodType<StatusReason$Outbound, z.ZodTypeDef, StatusReason>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace StatusReason$ {
    /** @deprecated use `StatusReason$inboundSchema` instead. */
    const inboundSchema: z.ZodType<StatusReason, z.ZodTypeDef, unknown>;
    /** @deprecated use `StatusReason$outboundSchema` instead. */
    const outboundSchema: z.ZodType<StatusReason$Outbound, z.ZodTypeDef, StatusReason>;
    /** @deprecated use `StatusReason$Outbound` instead. */
    type Outbound = StatusReason$Outbound;
}
export declare function statusReasonToJSON(statusReason: StatusReason): string;
export declare function statusReasonFromJSON(jsonString: string): SafeParseResult<StatusReason, SDKValidationError>;
//# sourceMappingURL=statusreason.d.ts.map