import * as i0 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 { MessageCloseEvent, MessageContainerTemplateContext, MessagePassThrough, MessageSeverity, MessageSize, MessageVariant } from "primeng/types/message"; import { BaseStyle } from "primeng/base"; import * as i2 from "primeng/api"; export 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: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * Message groups a collection of contents in tabs. * * [Live Demo](https://www.primeng.org/message/) * * @module messagestyle * */ export 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 */ export declare class Message extends BaseComponent { componentName: string; _componentStyle: MessageStyle; bindDirectiveInstance: Bind; $pcMessage: Message | undefined; /** * Severity level of the message. * @defaultValue 'info' * @group Props */ severity: import("@angular/core").InputSignal; /** * Whether the message can be closed manually using the close icon. * @group Props * @defaultValue false */ closable: import("@angular/core").InputSignalWithTransform; /** * Icon to display in the message. * @group Props * @defaultValue undefined */ icon: import("@angular/core").InputSignal; /** * Icon to display in the message close button. * @group Props * @defaultValue undefined */ closeIcon: import("@angular/core").InputSignal; /** * Delay in milliseconds to close the message automatically. * @group Props * @defaultValue undefined */ life: import("@angular/core").InputSignalWithTransform; /** * Defines the size of the component. * @group Props */ size: import("@angular/core").InputSignal; /** * Specifies the input variant of the component. * @group Props */ variant: import("@angular/core").InputSignal; /** * The motion options. * @group Props */ motionOptions: import("@angular/core").InputSignal; computedMotionOptions: import("@angular/core").Signal; /** * Emits when the message is closed. * @param {MessageCloseEvent} event - The event object containing the original event. * @group Emits */ onClose: import("@angular/core").OutputEmitterRef; get closeAriaLabel(): string | undefined; visible: import("@angular/core").WritableSignal; /** * Custom template of the message container. * @param {MessageContainerTemplateContext} context - container context. * @see {@link MessageContainerTemplateContext} * @group Templates */ containerTemplate: import("@angular/core").Signal | undefined>; /** * Custom template of the message icon. * @group Templates */ iconTemplate: import("@angular/core").Signal | undefined>; /** * Custom template of the close icon. * @group Templates */ closeIconTemplate: import("@angular/core").Signal | undefined>; containerContext: MessageContainerTemplateContext; dataP: import("@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: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class MessageModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }