/// import { DataList } from "../core/DataList"; declare global { namespace google.maps { interface Marker { info: string; } } } export interface PropertyServiceOptions { listElementId?: string; mapListElementId?: string; mapElementId?: string; mapLocationListId?: string; /** * Called before the data is fetched. */ onListLoad?: (sender?: HTMLElement) => void; /** * Called before the fetched HTML is rendered to the list. Must return the data back to datalist to render. */ onListRender?: (html: string, sender?: HTMLElement) => string; /** * Called before the data is fetched. */ onMapLoad?: (data: string, sender?: HTMLElement) => void; /** * Called before the fetched HTML is rendered to the list. Must return the data back to datalist to render. */ onMapRender?: (sender?: HTMLElement) => string; /** * Renders the popup on the property map, location is the property map marker object sent from the server for that property. */ renderPropertyPopup?: (location?: any) => string; } export declare class PropertyService { options: PropertyServiceOptions; constructor(options?: PropertyServiceOptions); element: HTMLElement; list: DataList; mapListElement: HTMLElement; mapList: DataList; map: google.maps.Map; center: google.maps.LatLngLiteral; mapElement: HTMLElement; markers: any[]; initList(): void; initMapList(): void; initMap(): void; reloadMarkers(): void; }