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