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