import { type Client } from '../core.js'; import { type RequestOptions } from '../lib/types.js'; import type { ListNotificationChannelsRequest, ListNotificationChannelsResponse, CreateNotificationChannelRequest, CreateNotificationChannelResponse, GetNotificationChannelRequest, GetNotificationChannelResponse, UpdateNotificationChannelRequest, UpdateNotificationChannelResponse, DeleteNotificationChannelRequest, DeleteNotificationChannelResponse } from '../models/operations/notifications.js'; import type { NotificationChannel } from '../models/types.js'; export declare class Notifications { private readonly _client; constructor(_client: Client); /** * List notification channels * * List all notification channels. * * GET /openmeter/notification/channels */ listChannels(request?: ListNotificationChannelsRequest, options?: RequestOptions): Promise; /** * List notification channels * * List all notification channels. * * Iterates every item across all pages, fetching more as the returned iterable is consumed. * * GET /openmeter/notification/channels */ listChannelsAll(request?: ListNotificationChannelsRequest, options?: RequestOptions): AsyncIterable; /** * Create notification channel * * Create a notification channel. * * POST /openmeter/notification/channels */ createChannel(request: CreateNotificationChannelRequest, options?: RequestOptions): Promise; /** * Get notification channel * * Get a notification channel by id. * * GET /openmeter/notification/channels/{notificationChannelId} */ getChannel(request: GetNotificationChannelRequest, options?: RequestOptions): Promise; /** * Update notification channel * * Update a notification channel by id. * * PUT /openmeter/notification/channels/{notificationChannelId} */ updateChannel(request: UpdateNotificationChannelRequest, options?: RequestOptions): Promise; /** * Delete notification channel * * Delete a notification channel by id. * * DELETE /openmeter/notification/channels/{notificationChannelId} */ deleteChannel(request: DeleteNotificationChannelRequest, options?: RequestOptions): Promise; }