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;
}
export declare const ConcealableField: import("react").MemoExoticComponent<({ buttonProps, concealTimeout, renderConcealedValue, isExtended, children }: ConcealableFieldProps) => JSX.Element>;
//# sourceMappingURL=ConcealableField.d.ts.map