import * as _angular_core from '@angular/core'; import { TemplateRef } from '@angular/core'; import { MotionOptions } from '@primeuix/motion'; import { BaseComponent } from 'primeng/basecomponent'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import { MessagePassThrough, MessageSeverity, MessageSize, MessageVariant, MessageCloseEvent, MessageContainerTemplateContext } from 'primeng/types/message'; import { BaseStyle } from 'primeng/base'; import * as i2 from 'primeng/api'; declare class MessageStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => any[]; contentWrapper: string; content: string; icon: string; text: string; closeButton: string; closeIcon: string; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * * Message groups a collection of contents in tabs. * * [Live Demo](https://www.primeng.org/message/) * * @module messagestyle * */ declare enum MessageClasses { /** * Class name of the root element */ root = "p-message", /** * Class name of the content element */ content = "p-message-content", /** * Class name of the icon element */ icon = "p-message-icon", /** * Class name of the text element */ text = "p-message-text", /** * Class name of the close button element */ closeButton = "p-message-close-button", /** * Class name of the close icon element */ closeIcon = "p-message-close-icon" } /** * Message groups a collection of contents in tabs. * @group Components */ declare class Message extends BaseComponent { componentName: string; _componentStyle: MessageStyle; bindDirectiveInstance: Bind; $pcMessage: Message | undefined; /** * Severity level of the message. * @defaultValue 'info' * @group Props */ severity: _angular_core.InputSignal; /** * Whether the message can be closed manually using the close icon. * @group Props * @defaultValue false */ closable: _angular_core.InputSignalWithTransform; /** * Icon to display in the message. * @group Props * @defaultValue undefined */ icon: _angular_core.InputSignal; /** * Icon to display in the message close button. * @group Props * @defaultValue undefined */ closeIcon: _angular_core.InputSignal; /** * Delay in milliseconds to close the message automatically. * @group Props * @defaultValue undefined */ life: _angular_core.InputSignalWithTransform; /** * Defines the size of the component. * @group Props */ size: _angular_core.InputSignal; /** * Specifies the input variant of the component. * @group Props */ variant: _angular_core.InputSignal; /** * The motion options. * @group Props */ motionOptions: _angular_core.InputSignal; computedMotionOptions: _angular_core.Signal; /** * Emits when the message is closed. * @param {MessageCloseEvent} event - The event object containing the original event. * @group Emits */ onClose: _angular_core.OutputEmitterRef; get closeAriaLabel(): string | undefined; visible: _angular_core.WritableSignal; /** * Custom template of the message container. * @param {MessageContainerTemplateContext} context - container context. * @see {@link MessageContainerTemplateContext} * @group Templates */ containerTemplate: _angular_core.Signal | undefined>; /** * Custom template of the message icon. * @group Templates */ iconTemplate: _angular_core.Signal | undefined>; /** * Custom template of the close icon. * @group Templates */ closeIconTemplate: _angular_core.Signal | undefined>; containerContext: MessageContainerTemplateContext; dataP: _angular_core.Signal; closeCallback: (event: Event) => void; onAfterViewChecked(): void; onInit(): void; /** * Closes the message. * @param {Event} event - Browser event. * @group Method */ close(event: Event): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class MessageModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { Message, MessageClasses, MessageModule, MessageStyle };