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