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 PositionsPaginated = {
    data: Array<Position>;
    next?: string | null | undefined;
    /**
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    nextPage?: string | null | undefined;
    raw?: Array<RawResponse> | null | undefined;
};
/** @internal */
export declare const PositionsPaginated$inboundSchema: z.ZodType<PositionsPaginated, z.ZodTypeDef, unknown>;
/** @internal */
export type PositionsPaginated$Outbound = {
    data: Array<Position$Outbound>;
    next?: string | null | undefined;
    next_page?: string | null | undefined;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const PositionsPaginated$outboundSchema: z.ZodType<PositionsPaginated$Outbound, z.ZodTypeDef, PositionsPaginated>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace PositionsPaginated$ {
    /** @deprecated use `PositionsPaginated$inboundSchema` instead. */
    const inboundSchema: z.ZodType<PositionsPaginated, z.ZodTypeDef, unknown>;
    /** @deprecated use `PositionsPaginated$outboundSchema` instead. */
    const outboundSchema: z.ZodType<PositionsPaginated$Outbound, z.ZodTypeDef, PositionsPaginated>;
    /** @deprecated use `PositionsPaginated$Outbound` instead. */
    type Outbound = PositionsPaginated$Outbound;
}
export declare function positionsPaginatedToJSON(positionsPaginated: PositionsPaginated): string;
export declare function positionsPaginatedFromJSON(jsonString: string): SafeParseResult<PositionsPaginated, SDKValidationError>;
//# sourceMappingURL=positionspaginated.d.ts.map