import * as React from 'react';
import { type TagProps } from '../ui/tag';
import { type ActionsMenuGroup } from '../ui/actions-menu';
/** A coloured status pill rendered to the right of the title/description. */
export interface MingoInfoCardStatus {
    /** Pill text — rendered uppercase via the `success`/`warning`/… Tag palette. */
    label: React.ReactNode;
    /** Tag colour. Defaults to `success` (green) to match the Figma sample. */
    variant?: TagProps['variant'];
}
export interface MingoInfoCardProps {
    /** Card title — DM Sans Medium 18px (`text-h4`), white. Truncates on overflow. */
    title: React.ReactNode;
    /** Optional secondary line below the title — 14px (`text-h6`), grey. Truncates. */
    description?: React.ReactNode;
    /**
     * Leading 40px avatar image (`img="image"` variant in Figma). Takes
     * precedence over `icon` when both are supplied. Falls back to initials
     * derived from `imageAlt` if the image fails to load.
     */
    imageSrc?: string;
    /** Alt text / initials fallback for `imageSrc`. */
    imageAlt?: string;
    /**
     * Leading 24px glyph rendered inside a 40px box (`img="icon"` variant).
     * Ignored when `imageSrc` is set. Pass an `icons-v2-generated` icon — it
     * inherits `currentColor` from the box's `text-ods-text-primary`.
     */
    icon?: React.ReactNode;
    /** Optional status pill (e.g. `{ label: 'Online' }`). */
    status?: MingoInfoCardStatus;
    /**
     * Overflow-menu groups. When non-empty, a trailing "⋯" button opens an
     * `ActionsMenuDropdown`. Omit to hide the button entirely.
     */
    menuGroups?: ReadonlyArray<ActionsMenuGroup>;
    /** Aria-label for the "⋯" trigger. Defaults to `"More actions"`. */
    menuAriaLabel?: string;
    /**
     * Renders the main content region as an `<a>` (for navigation) instead of a
     * `<button>`. Takes precedence over `onClick`. The "⋯" button stays a sibling
     * of the anchor — not nested inside it — so the markup stays valid.
     */
    anchorProps?: MingoInfoCardAnchorProps;
    /**
     * Click handler for the main content region. When set (and `anchorProps` is
     * not), the title/description region becomes a `<button>` with hover/focus
     * affordances. The "⋯" button keeps its own independent click target.
     */
    onClick?: () => void;
    /** Appended to the root element. */
    className?: string;
}
/** Anchor-prop bundle for the content region — mirrors the `*AnchorProps`
 *  shape the chat entity-cards pass (`{ href, target?, rel?, onClick? }`). */
export interface MingoInfoCardAnchorProps {
    href: string;
    target?: '_blank';
    rel?: string;
    onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
}
export declare function MingoInfoCard({ title, description, imageSrc, imageAlt, icon, status, menuGroups, menuAriaLabel, anchorProps, onClick, className, }: MingoInfoCardProps): React.JSX.Element;
//# sourceMappingURL=mingo-info-card.d.ts.map