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