/** * Sends a rich formatted message to a Zoom chat channel via webhook. * * @param message - Message content with header, body, and optional subheader * @param message.header - Main header text for the message * @param message.body - Body text content * @param message.subheader - Optional subheader text displayed below the main header * @param options - Configuration options * @param options.channel - The Zoom channel to post to (defaults to "default") * @param options.shouldThrow - If true, throws an APIError on failure; otherwise logs and continues * @param options.env - Optional environment prefix (e.g., "stg", "prod") prepended to header * * @remarks * Requires ZOOM_CHAT_WEBHOOKS environment variable containing JSON with channel configurations: * ```json * { * "default": {"channel": "webhook_url", "verificationToken": "token"}, * "ops": {"channel": "webhook_url", "verificationToken": "token"} * } * ``` * * Falls back to "default" channel if specified channel not found. * Logs errors to Sentry and logger when webhook is missing or request fails. * Uses Zoom's rich message format (format=full) with structured header and body. */ export declare function sendToZoom({ header, body, subheader }: { header: string; body: string; subheader?: string; }, { channel, shouldThrow, env }: { channel: string; shouldThrow?: boolean; env?: string; }): Promise;