import { Input } from '../Input/Input'; type BaseProps = React.ComponentProps & { /** TRUE if the secret was already configured. (It is needed as often the backend doesn't send back the actual secret, only the information that it was configured) */ isConfigured: boolean; /** Called when the user clicks on the "Reset" button in order to clear the secret */ onReset: () => void; }; type RevealableProps = { /** * Shows an eye icon button that toggles the secret between masked and plain text. * The toggle occupies the input's suffix slot, so `suffix` cannot be used together with it. */ revealable: true; suffix?: never; }; type NonRevealableProps = { revealable?: false; }; export type Props = BaseProps & (RevealableProps | NonRevealableProps); export declare const CONFIGURED_TEXT = "configured"; export declare const RESET_BUTTON_TEXT = "Reset"; /** * Used for secret/password input. * * https://developers.grafana.com/ui/latest/index.html?path=/docs/inputs-secretinput--docs */ export declare const SecretInput: ({ isConfigured, onReset, revealable, ...props }: Props) => import("react").JSX.Element; export {};