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