import { AxiosInstance } from "axios"; import { CreateTemplateParams, CreateTemplateResponse, GetTemplateResponse, ListTemplatesParams, ListTemplatesResponse, UpdateTemplateParams, UpdateTemplateResponse } from "../../../types/api/templates"; /** * Templates API. The `/api/templates` endpoints are experimental: their request * and response shapes may change in a minor release before general availability. * For the stable `/api/email_templates` endpoints, use `EmailTemplatesApi`. */ export default class TemplatesApi { private client; private templatesURL; constructor(client: AxiosInstance, accountId: number); /** * Lists the account's templates. The result is wrapped in a * `{ data, pagination }` envelope; pagination is page-token based. */ getList(params?: ListTemplatesParams): Promise; /** * Get a specific template by ID. */ get(templateId: number): Promise; /** * Create a new template. */ create(params: CreateTemplateParams): Promise; /** * Update an existing template. */ update(templateId: number, params: UpdateTemplateParams): Promise; /** * Delete a template. */ delete(templateId: number): Promise; } //# sourceMappingURL=Templates.d.ts.map