/* * Copyright (c) 2025, Salesforce, Inc. * All rights reserved. * For full license text, see the LICENSE.txt file */ /** * The `lightning/formattedAddress` component displays a formatted address with optional map integration. * @see {@link https://developer.salesforce.com/docs/component-library/bundle/lightning-formatted-address/documentation |Lightning Formatted Address Documentation} */ declare module "lightning/formattedAddress" { import { LightningElement } from "lwc"; /** * The `lightning/formattedAddress` component displays a formatted address with optional map integration. */ export default class LightningFormattedAddress extends LightningElement { /** The locale used to format the address. */ locale: string; /** The street address. */ street: string; /** The city name. */ city: string; /** The province or state name. */ province: string; /** The country name. */ country: string; /** The postal code or ZIP code. */ postalCode: string; /** The latitude coordinate for map display. */ latitude: number; /** The longitude coordinate for map display. */ longitude: number; /** If true, the address is not clickable. */ disabled: boolean; /** The variant changes the appearance of the address. Valid values include standard and label-hidden. */ variant: string; /** If true, displays a static map below the address using the provided latitude and longitude. */ showStaticMap: boolean; /** Handles the click event when the address is clicked. */ click(): void; } }