import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type UpdateResultRequestBody = {
    /**
     * Represents a result.
     */
    result: components.Result;
};
export type UpdateResultRequest = {
    /**
     * The sourcedId of the result to update
     */
    sourcedId: string;
    requestBody: UpdateResultRequestBody;
};
/**
 * Result successfully updated
 */
export type UpdateResultResponse = {
    /**
     * Represents a result.
     */
    result: components.Result;
};
/** @internal */
export declare const UpdateResultRequestBody$inboundSchema: z.ZodType<UpdateResultRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateResultRequestBody$Outbound = {
    result: components.Result$Outbound;
};
/** @internal */
export declare const UpdateResultRequestBody$outboundSchema: z.ZodType<UpdateResultRequestBody$Outbound, z.ZodTypeDef, UpdateResultRequestBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateResultRequestBody$ {
    /** @deprecated use `UpdateResultRequestBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateResultRequestBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateResultRequestBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateResultRequestBody$Outbound, z.ZodTypeDef, UpdateResultRequestBody>;
    /** @deprecated use `UpdateResultRequestBody$Outbound` instead. */
    type Outbound = UpdateResultRequestBody$Outbound;
}
export declare function updateResultRequestBodyToJSON(updateResultRequestBody: UpdateResultRequestBody): string;
export declare function updateResultRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdateResultRequestBody, SDKValidationError>;
/** @internal */
export declare const UpdateResultRequest$inboundSchema: z.ZodType<UpdateResultRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateResultRequest$Outbound = {
    sourcedId: string;
    RequestBody: UpdateResultRequestBody$Outbound;
};
/** @internal */
export declare const UpdateResultRequest$outboundSchema: z.ZodType<UpdateResultRequest$Outbound, z.ZodTypeDef, UpdateResultRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateResultRequest$ {
    /** @deprecated use `UpdateResultRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateResultRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateResultRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateResultRequest$Outbound, z.ZodTypeDef, UpdateResultRequest>;
    /** @deprecated use `UpdateResultRequest$Outbound` instead. */
    type Outbound = UpdateResultRequest$Outbound;
}
export declare function updateResultRequestToJSON(updateResultRequest: UpdateResultRequest): string;
export declare function updateResultRequestFromJSON(jsonString: string): SafeParseResult<UpdateResultRequest, SDKValidationError>;
/** @internal */
export declare const UpdateResultResponse$inboundSchema: z.ZodType<UpdateResultResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateResultResponse$Outbound = {
    result: components.Result$Outbound;
};
/** @internal */
export declare const UpdateResultResponse$outboundSchema: z.ZodType<UpdateResultResponse$Outbound, z.ZodTypeDef, UpdateResultResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateResultResponse$ {
    /** @deprecated use `UpdateResultResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateResultResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateResultResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateResultResponse$Outbound, z.ZodTypeDef, UpdateResultResponse>;
    /** @deprecated use `UpdateResultResponse$Outbound` instead. */
    type Outbound = UpdateResultResponse$Outbound;
}
export declare function updateResultResponseToJSON(updateResultResponse: UpdateResultResponse): string;
export declare function updateResultResponseFromJSON(jsonString: string): SafeParseResult<UpdateResultResponse, SDKValidationError>;
//# sourceMappingURL=updateresult.d.ts.map