import { CdkTrapFocus } from '@angular/cdk/a11y'; import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Renderer2 } from '@angular/core'; import { ThemePalette } from '@angular/material/core'; import { CoachMarkPosition } from './coachmark-position.model'; import * as i0 from "@angular/core"; /** * Internal component that wraps the coachMark's content. * * @export * @author Nick Richards */ export declare class MtnaCoachMarkComponent implements AfterViewInit { private changeDetectorRef; private elementRef; private renderer; /** Outputs when the coach mark is closed. */ closed: EventEmitter; /** Color of the button */ buttonColor: ThemePalette; /** Text on the button */ buttonText?: string; /** The the d attripute value on the svg path */ fillPath?: string; /** Instructions displayed in the coach mark */ instructions?: string; /** The 'left' css style. Used to set position of instructions. */ instructionsPositionX: number; /** The 'top' css style. Used to set position of instructions. */ instructionsPositionY: number; /** The instructions container client rect. Used to figure out where to position the element. */ instructionRect?: ClientRect; overlayColor?: ThemePalette; /** * 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?: CoachMarkPosition; /** Radius of the window. */ radius?: number; /** Center point for the x coordinate of the window. */ windowPositionX?: number; /** Center point for the y coordinate of the window. */ windowPositionY?: number; /** The client rect for the window. Used to set location of instructions and button. */ windowRect?: ClientRect; /** x offset for the instructions. */ xOffset?: number; /** y offset for the instructions. */ yOffset?: number; /** Used to set the overlay color and set the theme color. */ instructionsElement?: ElementRef; focusTrap?: CdkTrapFocus; constructor(changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef, renderer: Renderer2); /** * Emits when user clicks close button. * */ closeComponent(): void; /** * gets the component element. Primarily used to set theme color. */ _getHostElement(): any; /** * Sets the position of the instruction element. */ ngAfterViewInit(): void; /** * Sets the position of the instructions element relative * to the window(centerpoint of host element); */ setInstructionPosition(): void; /** * Called to set the theme color of component's overlay and overlay contast colors. */ setElementColor(color: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }