/* * Copyright (c) 2025, Salesforce, Inc. * All rights reserved. * For full license text, see the LICENSE.txt file */ /** * The `lightning/formattedName` component displays a formatted name that can include a salutation and suffix. * @see {@link https://developer.salesforce.com/docs/component-library/bundle/lightning-formatted-name/documentation |Lightning FormattedName Documentation} */ declare module "lightning/formattedName" { import { LightningElement } from "lwc"; /** * A component that displays a formatted name with support for salutation, first name, middle name, * last name, suffix, and informal name. */ export default class LightningFormattedName extends LightningElement { /** * The format to use to display the name. Valid values include short, medium, and long. * This value defaults to long. */ format: "short" | "medium" | "long"; /** * The value for the salutation, such as Dr. or Mrs. */ salutation: string; /** * The value for the first name. */ firstName: string; /** * The value for the last name. */ lastName: string; /** * The value for the middle name. */ middleName: string; /** * The value for the suffix, such as Jr. or Esq. */ suffix: string; /** * The value for the informal name. */ informalName: string; } }