import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Account, Account$Outbound } from "./account.js";
import { RawResponse, RawResponse$Outbound } from "./rawresponse.js";
export type AccountsPaginated = {
    data: Array<Account>;
    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 AccountsPaginated$inboundSchema: z.ZodType<AccountsPaginated, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountsPaginated$Outbound = {
    data: Array<Account$Outbound>;
    next?: string | null | undefined;
    next_page?: string | null | undefined;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const AccountsPaginated$outboundSchema: z.ZodType<AccountsPaginated$Outbound, z.ZodTypeDef, AccountsPaginated>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountsPaginated$ {
    /** @deprecated use `AccountsPaginated$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountsPaginated, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountsPaginated$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountsPaginated$Outbound, z.ZodTypeDef, AccountsPaginated>;
    /** @deprecated use `AccountsPaginated$Outbound` instead. */
    type Outbound = AccountsPaginated$Outbound;
}
export declare function accountsPaginatedToJSON(accountsPaginated: AccountsPaginated): string;
export declare function accountsPaginatedFromJSON(jsonString: string): SafeParseResult<AccountsPaginated, SDKValidationError>;
//# sourceMappingURL=accountspaginated.d.ts.map