import { OnInit } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { MatDialogRef } from '@angular/material/dialog'; import { UserMap } from '../../../models/user-map.model'; export declare class SaveMapComponent implements OnInit { passedData: any; private dialogRef; /** * Reactive form to accept data from user about map to be saved */ NewMapForm: FormGroup; /** * The new map that will be constructed and passed back to be saved */ NewMap: UserMap; constructor(passedData: any, dialogRef: MatDialogRef); ngOnInit(): void; /** * Sets entered map data to this.NewMap, which is then returned upon closing modal with affirmative button */ SetMapData(): void; /** * Closes the mat dialog box */ Close(): void; /** * * @param lng the longitude to make valid * * the agm map passes back compounding longitude values if the user scrolls too far horizontally (the world makes one full rotation) * * this method checks if the user has rotated the earth and corrects the longitude for any "invalid" longitude values */ protected correctInvalidLongitudes(lng: number): number; }