import { NumberInput } from '@angular/cdk/coercion'; import { ElementRef, EventEmitter } from '@angular/core'; import { PopoverPosition } from './popover-position.model'; import * as i0 from "@angular/core"; /** * Internal component that wraps the popover's content. * * @export * @author Nick Richards */ export declare class MtnaPopoverComponent { private _elementRef; static ngAcceptInputType_width: NumberInput; /** Message displayed in the popover */ message?: string; /** Title of the popover */ title?: string; /** Optional, fixed width of the popover in pixels. Defaults to 300px. */ get width(): number; set width(width: number); private _width; /** Outputs when the popover is closed. */ closed: EventEmitter; /** ID of the popover */ id?: string; /** String passed where instructions will be displayed relative to the host element. * Options are left, before, right, after, above or below. Left and before are the same, * right and after are the same. */ position: PopoverPosition; /** Suffix for unique ID's */ private readonly _id; /** ID for the popover title */ readonly popoverTitleId: string; /** ID for the popover body */ readonly popoverBodyId: string; constructor(_elementRef: ElementRef); /** * Stop propogation when clicked on the dialog or it will close */ onClick(event: Event): void; /** Closes the component when clicked outside of the popover */ handleKeyDown(event: Event): void; /** * Fires close and removes global click listener. */ fireClose(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }