import * as $dara from '@darabonba/typescript'; export declare class PreviewNotifyTemplateRequestTemplates extends $dara.Model { /** * @remarks * The template identifier. This identifier is defined by the frontend and returned as-is. Use semantic names such as title or content. * * This parameter is required. * * @example * title */ key?: string; /** * @remarks * The template content string in Go template syntax. * * This parameter is required. * * @example * CloudMonitor alert: {{.incident.title}} */ template?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class PreviewNotifyTemplateRequest extends $dara.Model { /** * @remarks * The rendering context data in key-value pair format. This data source is used to populate Go template placeholders in the templates, such as {{.incident.title}}. * * @example * {"incident":{"title":"High CPU utilization","severity":"P1"}} */ data?: any; /** * @remarks * The list of templates to be rendered. Each item includes a template identifier and the template content. * * This parameter is required. * * @example * [{"key":"title","template":"CloudMonitor alert: {{.incident.title}}"},{"key":"content","template":">- Severity: {{.incident.severity}}"}] */ templates?: PreviewNotifyTemplateRequestTemplates[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }