/* * Copyright (c) 2025, Salesforce, Inc. * All rights reserved. * For full license text, see the LICENSE.txt file */ /** * The `lightning/formattedPhone` component displays a phone number as a hyperlink with the tel: URL scheme. * @see {@link https://developer.salesforce.com/docs/component-library/bundle/lightning-formatted-phone/documentation |Lightning FormattedPhone Documentation} */ declare module "lightning/formattedPhone" { import { LightningElement } from "lwc"; /** * A component that displays a phone number as a clickable link that opens the default phone app. */ export default class LightningFormattedPhone extends LightningElement { /** * Sets the phone number to display. */ value: string; /** * If present, the phone number displays as plain text instead of a link. * The number cannot be clicked or receive focus. * This value defaults to false. */ disabled: boolean; /** * Reserved for internal use. Use tabindex instead to indicate if an element should be focusable. * A value of 0 means that the element is focusable and * participates in sequential keyboard navigation. A value of -1 means * that the element is focusable but does not participate in keyboard navigation. */ tabIndex: number; /** * Sets focus on the element. */ focus(): void; /** * Removes keyboard focus from the element. */ blur(): void; /** * Simulates a mouse click on the phone number and opens the default phone app. */ click(): void; } }