import { ButtonProps } from '@contember/ui';
import { ReactNode, Ref } from 'react';
export interface ConcealableFieldRendererProps {
    onFocus: () => void;
    onBlur: () => void;
    inputRef: Ref<HTMLInputElement | undefined>;
}
export interface ConcealableFieldProps {
    buttonProps?: ButtonProps;
    concealTimeout?: number;
    renderConcealedValue: () => ReactNode;
    children: (rendererProps: ConcealableFieldRendererProps) => ReactNode;
    isExtended?: boolean;
    editButtonLabel?: ReactNode;
}
/**
 * @group UI
 */
export declare const ConcealableField: React.MemoExoticComponent<({ buttonProps, concealTimeout, renderConcealedValue, isExtended, children }: ConcealableFieldProps) => import("react/jsx-runtime").JSX.Element>;
//# sourceMappingURL=ConcealableField.d.ts.map