import { HTMLAttributes } from 'react';
import { IconNameWithSize } from '@talend/icons';
import { DeprecatedIconNames } from '../../../../types';
type CommonAffixReadOnlyPropsType = {
children: string;
isSuffix?: boolean;
};
type AffixReadOnlyHideTextProps = {
hideText?: true;
icon: DeprecatedIconNames | IconNameWithSize<'M'>;
};
type AffixReadOnlyShowTextProps = {
hideText?: false;
icon?: DeprecatedIconNames | IconNameWithSize<'M'>;
};
export type AffixReadOnlyPropsType = Omit, 'className' | 'style'> & CommonAffixReadOnlyPropsType & (AffixReadOnlyHideTextProps | AffixReadOnlyShowTextProps);
declare const AffixReadOnly: import("react").ForwardRefExoticComponent>;
export default AffixReadOnly;