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