import type { CSSProperties, ForwardRefExoticComponent, PropsWithoutRef, ReactNode, RefAttributes } from "react"; import { CardHeader } from "./components/CardHeader"; import { CardTitle } from "./components/CardTitle"; export type CardElevation = "100" | "200" | "300" | "400" | "500"; type CardAs = "section" | "aside" | "main" | "div" | "span"; export interface CardProps { /** * The `id` attribute of the `Card`. */ id?: string; /** @ignore */ className?: string; /** @ignore */ style?: CSSProperties; /** * Specify HTML element `Card` should be presented as. * @default section */ as?: CardAs; /** Should the content take up full full width of the `Card`. */ fullBleed?: boolean; /** * The content of the `Card`. */ children: ReactNode; /** * Specify distance off the page for the `Card`. * @default 100 */ elevation?: CardElevation; } export interface CardType extends ForwardRefExoticComponent & RefAttributes> { Header: typeof CardHeader; Title: typeof CardTitle; } /** * The `Card` component is a useful for containing content within a page. * * See the [Card documentation page](https://satellite.algolia.com/8261d6576/p/639cc5-card) for more information. */ export declare const Card: CardType; export {};