import { ElementType, HTMLAttributes, ReactNode } from 'react'; export interface PanelCardProps extends HTMLAttributes { /** Blue border and a raised shadow: the "added" state. */ highlighted?: boolean; /** Element or component to render as. Default `div`. */ as?: ElementType; } /** * A bordered card whose children (header, sections, footer) are separated by 1px dividers. Extra props and the ref go * to the root element, so `styled(PanelCard)` works. * * CSS custom properties (set on the card or any ancestor): * - `--panel-card-background` (`#fff`), `--panel-card-border-color` (`#e1e1e1`), `--panel-card-radius` (`8px`) * - `--panel-card-highlight-color` (`#0050ca`), `--panel-card-highlight-shadow` (`elevation.md`) * - `--panel-card-divider` (`1px solid #e1e1e1`) */ export declare const PanelCard: import('react').ForwardRefExoticComponent>; export interface PanelCardHeaderProps extends Omit, 'title'> { /** Slot before the text, e.g. an icon or logo. */ leading?: ReactNode; title?: ReactNode; subtitle?: ReactNode; /** Slot after the text: below it on mobile, at the right edge from 992px. */ trailing?: ReactNode; /** Element for the title. Default `div`; use `h2` etc. for a real heading. */ titleAs?: ElementType; } /** * Card header: leading slot, title and subtitle, trailing slot. `children` render in place of the title block when no * `title` or `subtitle` is given. * * CSS custom properties: `--panel-card-header-padding` (`16px`, `24px` from 992px), `--panel-card-header-gap` * (`20px`, between text and trailing), `--panel-card-header-leading-gap` (`12px`). */ export declare const PanelCardHeader: import('react').ForwardRefExoticComponent>; export type PanelCardSectionProps = HTMLAttributes; /** * Plain padded block, e.g. one row. Use one section per row: the card draws full-width dividers between its children. * * CSS custom properties: `--panel-card-section-padding` (`16px`, `16px 24px` from 992px), * `--panel-card-section-background` (`#fff`). */ export declare const PanelCardSection: import('react').ForwardRefExoticComponent>; export type PanelCardFooterProps = HTMLAttributes; /** * Footer on a grey surface. * * CSS custom properties: `--panel-card-footer-padding` (`12px 16px`, `12px 24px` from 992px), * `--panel-card-footer-background` (`#f8f8f8`). */ export declare const PanelCardFooter: import('react').ForwardRefExoticComponent>;