import React from "react"; import { type LinkProps } from "../../Link/Link"; import { type HeaderProps } from "../../Typography/Header/Header"; import type { DropdownMenuProps } from "../../DropdownMenu/DropdownMenu"; import type { PolymorphicComponentProps } from "../../../types"; export type CardAction = ({ type: "dropdown"; } & Omit) | ({ type: "link"; label: string; } & Omit, "size" | "color" | "inline" | "weight" | "children">); export declare class CardHeaderProps { title?: string; titleAs?: HeaderProps["as"]; action?: CardAction; "data-e2e-test-id"?: string; } export declare function CardHeader({ title, titleAs, action, "data-e2e-test-id": dataE2eTestId, }: CardHeaderProps): React.ReactElement;