UNPKG

@nebular/theme

Version:
12 lines (11 loc) 540 B
import { NbChatCustomMessageDirective } from './chat-custom-message.directive'; /** * `NbCustomMessageService` is used to store instances of `NbChatCustomMessageDirective`s which * were provided in the chat component. */ export declare class NbCustomMessageService { protected readonly customMessages: Map<string, NbChatCustomMessageDirective>; register(type: string, instance: NbChatCustomMessageDirective): void; unregister(type: string): boolean; getInstance(type: string): NbChatCustomMessageDirective | undefined; }