1import { NotificationChannel, NotificationChannelInput } from './NotificationChannelManager.types'; 2/** 3 * Assigns the channel configuration to a channel of a specified name (creating it if need be). 4 * This method lets you assign given notification channel to a notification channel group. 5 * 6 * > **Note:** For some settings to be applied on all Android versions, it may be necessary to duplicate the configuration across both 7 * > a single notification and its respective notification channel. 8 * 9 * For example, for a notification to play a custom sound on Android versions **below** 8.0, 10 * the custom notification sound has to be set on the notification (through the [`NotificationContentInput`](#notificationcontentinput)), 11 * and for the custom sound to play on Android versions **above** 8.0, the relevant notification channel must have the custom sound configured 12 * (through the [`NotificationChannelInput`](#notificationchannelinput)). For more information, 13 * see ["Setting custom notification sounds on Android"](#setting-custom-notification-sounds-on-android). 14 * @param channelId The channel identifier. 15 * @param channel Object representing the channel's configuration. 16 * @return A Promise which resolving to the object (of type [`NotificationChannel`](#notificationchannel)) describing the modified channel 17 * or to `null` if the platform does not support notification channels. 18 * @platform android 19 * @header channels 20 */ 21export default function setNotificationChannelAsync(channelId: string, channel: NotificationChannelInput): Promise<NotificationChannel | null>; 22//# sourceMappingURL=setNotificationChannelAsync.d.ts.map