import { ReactElement, ReactNode } from 'react';
import { PopperProps } from '../Popper';
import { ButtonProps } from '../Button';
type HintProps = {
open: boolean;
/**
* ⚠️ Has to be a single reffable child (use `forwardRef` for custom components)
*/
children?: ReactElement;
title?: ReactNode;
description?: ReactNode;
placement?: PopperProps['placement'];
/**
* Allows anchoring to arbitrary element
*/
anchorEl?: HTMLElement | null;
/**
* Close button is shown only when this prop is present
*/
onClose?: () => void;
/**
* Contents of the primary button
*/
primaryActionText?: ReactNode;
/**
* Click handler for primary button
*/
primaryActionHandler?: ButtonProps['onClick'];
/**
* Contents of the secondary button
*/
secondaryActionText?: ReactNode;
/**
* Click handler for secondary button
*/
secondaryActionHandler?: ButtonProps['onClick'];
stepCurrent?: number;
stepsTotal?: number;
/**
* Controls if hint should flip to other side of an element to fit into the viewport
*/
flip?: boolean;
/**
* Escape hatch for popper props. `modifiers` property will be merged with ``'s own modifiers.
*/
popperProps?: Partial;
className?: string;
testId?: string;
};
export declare const Hint: ({ anchorEl, open, className, onClose, title, description, testId, placement, children, primaryActionHandler, secondaryActionHandler, secondaryActionText, primaryActionText, stepsTotal, stepCurrent, flip, popperProps, }: HintProps) => JSX.Element;
export {};
//# sourceMappingURL=Hint.d.ts.map