import * as _angular_core from '@angular/core'; /** * @license * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE */ /** * Visual variant of the alert. */ type WrAlertType = 'info' | 'success' | 'warning' | 'danger' | 'neutral' | 'offline'; /** * Inline status banner. Use for feedback messages — saved/failed/notice etc. * * @example * ```html * * * ``` * * @see https://ngwr.dev/components/alert */ declare class WrAlert { /** * Optional headline shown at the top of the alert. * * @default null */ readonly title: _angular_core.InputSignal; /** * Visual variant. * * @default 'info' */ readonly type: _angular_core.InputSignal; /** * Override the default per-type icon with any ngwr icon name. * * @default null */ readonly iconName: _angular_core.InputSignal; /** * Optional secondary message rendered below the title. * * @default null */ readonly message: _angular_core.InputSignal; /** * When `true`, renders a leading status icon matching the `type`. * Pass `false` to hide. Ignored when `iconName` is set. * * @default true */ readonly icon: _angular_core.InputSignalWithTransform; /** * When `true`, renders a close button. * * @default false */ readonly closeable: _angular_core.InputSignalWithTransform; /** * Emitted when the user dismisses the alert via the close button. */ readonly closed: _angular_core.OutputEmitterRef; protected readonly dismissed: _angular_core.WritableSignal; protected readonly classes: _angular_core.Signal; /** Escalate role/aria-live for danger/warning alerts. */ protected readonly liveRole: _angular_core.Signal<"alert" | "status" | null>; protected readonly liveLevel: _angular_core.Signal<"assertive" | "polite" | null>; protected onClose(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { WrAlert }; export type { WrAlertType };