import * as React from 'react'; import { ButtonProps } from '../Button'; import { BoxProps } from '../Box'; import { CardProps } from '../Card'; import { IconProps } from '../Icon'; import { OverlayProps } from '../Overlay'; import { TextProps } from '../Text'; export declare type LocalCalloutProps = { /** The title of the callout. */ title?: string | React.ReactElement; /** Indicates if the callout has a tint. */ hasTint?: boolean; /** Function to invoke when the close button is pressed. */ onClickClose?: ButtonProps['onClick']; /** Indicates if a close button should be visible. */ showCloseButton?: boolean; /** Indicates if the callout is standalone. */ standalone?: boolean; /** Type of callout. */ type?: 'info' | 'danger' | 'warning' | 'success'; /** Footer of the callout. */ footer?: string | React.ReactElement; /** Props to spread on the close button. */ closeButtonProps?: Omit; /** Props to spread on the icon. */ iconProps?: IconProps; }; export declare type CalloutProps = CardProps & LocalCalloutProps; export declare type CalloutContextOptions = CalloutProps & { descriptionId?: string; titleId?: string; }; export declare const CalloutContext: React.Context; export declare const Callout: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; }; export declare type LocalCalloutContentProps = {}; export declare type CalloutContentProps = BoxProps & LocalCalloutContentProps; export declare const CalloutContent: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; }; export declare type LocalCalloutHeaderProps = {}; export declare type CalloutHeaderProps = BoxProps & LocalCalloutHeaderProps; export declare const CalloutHeader: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; }; export declare type LocalCalloutTitleProps = {}; export declare type CalloutTitleProps = TextProps & LocalCalloutTitleProps; export declare const CalloutTitle: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; }; export declare type LocalCalloutFooterProps = {}; export declare type CalloutFooterProps = BoxProps & LocalCalloutFooterProps; export declare const CalloutFooter: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; }; export declare type LocalCalloutIconProps = { iconProps?: Omit; }; export declare type CalloutIconProps = BoxProps & LocalCalloutIconProps; export declare const CalloutIcon: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; }; export declare type LocalCalloutOverlayProps = {}; export declare type CalloutOverlayProps = CalloutProps & OverlayProps & LocalCalloutOverlayProps; export declare const CalloutOverlay: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; };