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