import { Subscription } from "rxjs";
import { INotificationService } from "./public-api";
export declare type NotificationHandler = (args: any) => void;
/**
 * @ngdoc service
 *
 * @name nui.services:nuiNotificationService
 *
 * @description
 * Service that provides generic notifications to consumers that subscribe.
 */
/**
 * @ignore
 */
export declare class NotificationService implements INotificationService {
    private channels;
    private ensureChannel;
    subscribe(channelId: string, action: NotificationHandler): Subscription;
    post(channelId: string, args: any): void;
}
export default NotificationService;
