import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Candidate, Candidate$Outbound } from "./candidate.js";
import { RawResponse, RawResponse$Outbound } from "./rawresponse.js";
export type CandidateResult = {
    data: Candidate;
    raw?: Array<RawResponse> | null | undefined;
};
/** @internal */
export declare const CandidateResult$inboundSchema: z.ZodType<CandidateResult, z.ZodTypeDef, unknown>;
/** @internal */
export type CandidateResult$Outbound = {
    data: Candidate$Outbound;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const CandidateResult$outboundSchema: z.ZodType<CandidateResult$Outbound, z.ZodTypeDef, CandidateResult>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CandidateResult$ {
    /** @deprecated use `CandidateResult$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CandidateResult, z.ZodTypeDef, unknown>;
    /** @deprecated use `CandidateResult$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CandidateResult$Outbound, z.ZodTypeDef, CandidateResult>;
    /** @deprecated use `CandidateResult$Outbound` instead. */
    type Outbound = CandidateResult$Outbound;
}
export declare function candidateResultToJSON(candidateResult: CandidateResult): string;
export declare function candidateResultFromJSON(jsonString: string): SafeParseResult<CandidateResult, SDKValidationError>;
//# sourceMappingURL=candidateresult.d.ts.map