import { IconProps } from '../../../tedi/components/base/icon/icon'; import { ButtonProps } from '../button/button'; export interface ToggleOpenProps extends Omit { /** * Name on the button to open the item */ openText: string; /** * Name on the button to close the item */ closeText: string; /** * If the element currently open */ isOpen: boolean; /** * Name of the icon we want to show on the right. * Overidden from ButtonProps, because we dont support string as icon name here */ iconRight?: Partial; } export declare const ToggleOpen: ({ openText, closeText, isOpen, iconRight, ...rest }: ToggleOpenProps) => JSX.Element; export default ToggleOpen;