import { PropertyValueMap } from "lit"; import { CardElement } from "../../base/card-element"; import { CardImageAdjustment, CardImagePosition } from "./types"; /** * @summary Cards can be used for headers and footers, a wide variety of content, contain contextual background colors and images. * @slot default - The content area of the card, placed directly under the title. Accepts any HTML or custom elements. * @slot menu - Accepts an element for an overflow or contextual menu, positioned at the top-right corner of the card. Typically used for action menus or dropdowns. * @slot upper - Accepts an element to be displayed above the card content. When used, it overrides image and icon slot content. * @slot image - Accepts an image or svg element of the card. Only a single element is allowed to be passed in. * @slot icon - Accepts an icon element to visually represent the card. Only a single element is allowed to be passed in. * @slot subtitle - The subtitle of the card * @slot title - The title of the card * @slot description - The paragrapher text of the card * @slot lower - Accepts any additional content to be displayed below the card description, such as badges, metadata, or supplementary information. * @slot footer - Footer area of the card. Accepts links, actions, or any custom content. * @slot link - (@deprecated) Deprecated since 3.3.2 in favour of `footer` slot. * Legacy slot for anchor elements. Use `footer` instead. */ export declare class SgdsCard extends CardElement { static styles: import("lit").CSSResult[]; private footerNode; private linkNode; /** Sets the image position of the card. Available options: `before`, `after` */ imagePosition: CardImagePosition; /** Controls how the image is sized and aligned within the card. Available options: `default`, `padding around`, `aspect ratio` */ imageAdjustment: CardImageAdjustment; /** Used only for SSR to indicate the presence of the `image` slot. */ hasImageSlot: boolean; /** Used only for SSR to indicate the presence of the `icon` slot. */ hasIconSlot: boolean; /** Used only for SSR to indicate the presence of the `upper` slot. */ hasUpperSlot: boolean; private get linkSlotItems(); private get footerSlotItems(); private readonly hasSlotController; protected firstUpdated(changedProperties: PropertyValueMap): void; updated(): void; handleImgSlotChange(e: Event): void; render(): import("lit").TemplateResult; } export default SgdsCard;