import React, { ReactNode } from 'react'; import PropTypes from 'prop-types'; interface CardHeaderProps { actions?: ReactNode; /** * Optional prop that allows you to pass any component. */ decorator?: ReactNode | boolean; description?: ReactNode; hasActions?: boolean; /** * is the host card clickable */ inClickableCard?: boolean; label?: ReactNode; noActionIcons?: boolean; onPrimaryButtonClick?: () => void; onSecondaryButtonClick?: () => void; primaryButtonDisabled?: boolean; primaryButtonIcon?: React.ElementType; primaryButtonPlacement?: 'top' | 'bottom'; primaryButtonText?: string; secondaryButtonDisabled?: boolean; secondaryButtonHref?: string; secondaryButtonIcon?: React.ElementType; secondaryButtonKind?: 'secondary' | 'ghost'; secondaryButtonPlacement?: 'top' | 'bottom'; secondaryButtonText?: string; /** * **Experimental:** For all cases a `Slug` component can be provided. * Clickable tiles only accept a boolean value of true and display a hollow slug. * @deprecated please use the `decorator` prop */ slug?: ReactNode; title?: ReactNode; titleSize?: 'default' | 'large'; } export declare const CardHeader: { ({ actions, decorator, noActionIcons, onPrimaryButtonClick, onSecondaryButtonClick, primaryButtonIcon, primaryButtonPlacement, primaryButtonText, primaryButtonDisabled, description, hasActions, inClickableCard, label, secondaryButtonDisabled, secondaryButtonHref, secondaryButtonIcon, secondaryButtonPlacement, secondaryButtonText, slug, title, titleSize, }: CardHeaderProps): React.JSX.Element; /**@ts-ignore */ propTypes: { actions: PropTypes.Requireable>; /** * Optional prop that allows you to pass any component. */ decorator: PropTypes.Requireable>; description: PropTypes.Requireable>; hasActions: PropTypes.Requireable; /** * is the host card clickable */ inClickableCard: PropTypes.Requireable; label: PropTypes.Requireable; noActionIcons: PropTypes.Requireable; onPrimaryButtonClick: PropTypes.Requireable<(...args: any[]) => any>; onSecondaryButtonClick: PropTypes.Requireable<(...args: any[]) => any>; primaryButtonDisabled: PropTypes.Requireable; primaryButtonIcon: PropTypes.Requireable; primaryButtonPlacement: PropTypes.Requireable; primaryButtonText: PropTypes.Requireable; secondaryButtonDisabled: PropTypes.Requireable; secondaryButtonHref: PropTypes.Requireable; secondaryButtonIcon: PropTypes.Requireable; secondaryButtonKind: PropTypes.Requireable; secondaryButtonPlacement: PropTypes.Requireable; secondaryButtonText: PropTypes.Requireable; /** * **Experimental:** For all cases a `Slug` component can be provided. * Clickable tiles only accept a boolean value of true and display a hollow slug. * @deprecated please use the `decorator` prop */ slug: PropTypes.Requireable>; title: PropTypes.Requireable>; titleSize: PropTypes.Requireable; }; /**@ts-ignore */ displayName: string; }; export {}; //# sourceMappingURL=CardHeader.d.ts.map