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 ReferencePaginated = {
    data: Array<Reference>;
    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 ReferencePaginated$inboundSchema: z.ZodType<ReferencePaginated, z.ZodTypeDef, unknown>;
/** @internal */
export type ReferencePaginated$Outbound = {
    data: Array<Reference$Outbound>;
    next?: string | null | undefined;
    next_page?: string | null | undefined;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const ReferencePaginated$outboundSchema: z.ZodType<ReferencePaginated$Outbound, z.ZodTypeDef, ReferencePaginated>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ReferencePaginated$ {
    /** @deprecated use `ReferencePaginated$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ReferencePaginated, z.ZodTypeDef, unknown>;
    /** @deprecated use `ReferencePaginated$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ReferencePaginated$Outbound, z.ZodTypeDef, ReferencePaginated>;
    /** @deprecated use `ReferencePaginated$Outbound` instead. */
    type Outbound = ReferencePaginated$Outbound;
}
export declare function referencePaginatedToJSON(referencePaginated: ReferencePaginated): string;
export declare function referencePaginatedFromJSON(jsonString: string): SafeParseResult<ReferencePaginated, SDKValidationError>;
//# sourceMappingURL=referencepaginated.d.ts.map