import { ElementType, ReactNode } from 'react'; export interface MasterDataCardProps { /** Entity name — the card's heading. */ title?: ReactNode; /** * Secondary line under the title, typically the record count (`"120 Items"`). * Pluralisation and i18n stay in the app — this renders whatever it is given. */ description?: ReactNode; /** Target passed to the `linkAs` element. */ href?: string; /** * Element used for navigation — pass the app's router-aware link (`next/link`, etc.). * Defaults to a plain `"a"` so the library stays framework-agnostic. */ linkAs?: ElementType; /** Press handler, for cards that act on click instead of navigating. */ onPress?: () => void; /** Replaces the description with a skeleton — for counts still being fetched. */ isLoading?: boolean; /** Trailing affordance. Defaults to an arrow button; pass a node to replace it. */ endContent?: ReactNode; /** Class for the root card (shorthand for `classNames.base`). */ className?: string; /** Per-slot class overrides. Merged with tailwind-merge, so utilities like colors win. */ classNames?: { /** Root card. */ base?: string; /** Card body — the flex row holding the text block and `endContent`. */ content?: string; /** The title line. */ title?: string; /** The description line (and the loading skeleton in its place). */ description?: string; /** Wrapper around `endContent`. */ endContent?: string; }; } /** * Entry-point card for a master data collection — entity name, record count, and an affordance * that navigates to the list. Built for master data landing pages, where a grid of these is * grouped under `SectionTitle` headings. * * Navigation is the app's job: pass `linkAs` (e.g. `next/link`) with `href`, or use `onPress`. */ export default function MasterDataCard(props: MasterDataCardProps): import("react").JSX.Element;