import React from "react"; import { ButtonProps } from "../button"; import { ToolbarItem } from "../toolbar"; import "./card.scss"; export type CardProps = React.PropsWithChildren, "title">> & { /** Buttons to use in the header. */ actions?: ToolbarItem[]; /** Border around the card. */ border?: boolean; /** @deprecated: REMOVE IN 3.0 - Renamed to actions. */ controls?: ButtonProps[]; /** The (flex) direction. */ direction?: React.CSSProperties["flexDirection"]; /** Whether to use `height 100%;`. */ fullHeight?: boolean; /** Justification method. */ justify?: "start" | "end" | "center" | "space-between" | "space-around" | "space-evenly"; /** A title for the card. */ title?: string | React.ReactNode; /** titleAs, a component to use as the title. */ titleAs?: React.ElementType; }; /** * Card component */ export declare const Card: React.FC;