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 CreateResultRequest = {
    /**
     * Represents a result.
     */
    result: components.Result;
};
export type CreateResultSourcedIdPairs = {
    suppliedSourcedId: string;
    allocatedSourcedId: string;
};
/**
 * Result successfully created
 */
export type CreateResultResponse = {
    sourcedIdPairs: CreateResultSourcedIdPairs;
};
/** @internal */
export declare const CreateResultRequest$inboundSchema: z.ZodType<CreateResultRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateResultRequest$Outbound = {
    result: components.Result$Outbound;
};
/** @internal */
export declare const CreateResultRequest$outboundSchema: z.ZodType<CreateResultRequest$Outbound, z.ZodTypeDef, CreateResultRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateResultRequest$ {
    /** @deprecated use `CreateResultRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateResultRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateResultRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateResultRequest$Outbound, z.ZodTypeDef, CreateResultRequest>;
    /** @deprecated use `CreateResultRequest$Outbound` instead. */
    type Outbound = CreateResultRequest$Outbound;
}
export declare function createResultRequestToJSON(createResultRequest: CreateResultRequest): string;
export declare function createResultRequestFromJSON(jsonString: string): SafeParseResult<CreateResultRequest, SDKValidationError>;
/** @internal */
export declare const CreateResultSourcedIdPairs$inboundSchema: z.ZodType<CreateResultSourcedIdPairs, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateResultSourcedIdPairs$Outbound = {
    suppliedSourcedId: string;
    allocatedSourcedId: string;
};
/** @internal */
export declare const CreateResultSourcedIdPairs$outboundSchema: z.ZodType<CreateResultSourcedIdPairs$Outbound, z.ZodTypeDef, CreateResultSourcedIdPairs>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateResultSourcedIdPairs$ {
    /** @deprecated use `CreateResultSourcedIdPairs$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateResultSourcedIdPairs, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateResultSourcedIdPairs$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateResultSourcedIdPairs$Outbound, z.ZodTypeDef, CreateResultSourcedIdPairs>;
    /** @deprecated use `CreateResultSourcedIdPairs$Outbound` instead. */
    type Outbound = CreateResultSourcedIdPairs$Outbound;
}
export declare function createResultSourcedIdPairsToJSON(createResultSourcedIdPairs: CreateResultSourcedIdPairs): string;
export declare function createResultSourcedIdPairsFromJSON(jsonString: string): SafeParseResult<CreateResultSourcedIdPairs, SDKValidationError>;
/** @internal */
export declare const CreateResultResponse$inboundSchema: z.ZodType<CreateResultResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateResultResponse$Outbound = {
    sourcedIdPairs: CreateResultSourcedIdPairs$Outbound;
};
/** @internal */
export declare const CreateResultResponse$outboundSchema: z.ZodType<CreateResultResponse$Outbound, z.ZodTypeDef, CreateResultResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateResultResponse$ {
    /** @deprecated use `CreateResultResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateResultResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateResultResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateResultResponse$Outbound, z.ZodTypeDef, CreateResultResponse>;
    /** @deprecated use `CreateResultResponse$Outbound` instead. */
    type Outbound = CreateResultResponse$Outbound;
}
export declare function createResultResponseToJSON(createResultResponse: CreateResultResponse): string;
export declare function createResultResponseFromJSON(jsonString: string): SafeParseResult<CreateResultResponse, SDKValidationError>;
//# sourceMappingURL=createresult.d.ts.map