import { Location } from '../../../GoogleMap.types'; interface ComponentPropsData { locations: Array; defaultLocation: number; } interface DeleteLocationFromComponentPropsResult { updatedLocations: Array; newDefaultLocation: number; } /** * Gets the current locations data from the component props */ export declare function getComponentPropsData(): Promise; /** * Updates an existing location in the component props */ export declare function updateLocationInComponentProps(locationData: Location, locationIndex: number): Promise; /** * Adds a new location to the component props and sets it as default */ export declare function addLocationToComponentProps(locationData: Location): Promise; /** * Deletes a location from the component props and adjusts the default location index */ export declare function deleteLocationFromComponentProps(locationIndex: number): Promise; export {};