import { ReactNode, ReactElement } from 'react';
import { IconProps } from '../Icon';
declare type RenderFn = (props: {
    wrap: (children: ReactNode) => ReactNode;
}) => ReactElement | null;
declare type ListActionProps = {
    /**
     * Should render as a ghost button in List's default mode. Icon is required for the ListAction with this property.
     * @since 3.3.0
     */
    primary?: boolean;
    /**
     * Name of icon.
     * @since 3.3.0
     */
    icon?: string | IconProps | ReactElement<any>;
    /**
     * Content of the component.
     * @since 3.3.0
     */
    children?: ReactNode | RenderFn;
    /**
     * Tooltip for component.
     * @since 3.5.0
     */
    tooltip?: ReactNode;
    /**
     * Renders as a "hole" if it has the primary property and doesn't render in the dropdown.
     * @since 3.5.0
     */
    hidden?: boolean;
};
/**
 * `ListAction` component is a part of [ListActions](#!/ListActions) component.
 * It accepts the props of [Button](#!/Button) and [MenuItem](#!/MenuItem) components.
 * @since 3.3.0
 */
declare const ListAction: ({ primary, children, tooltip, ...props }: ListActionProps) => JSX.Element | null;
export default ListAction;
