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