import type { BehaviorTrackingProps } from '../../core/types/behavior-tracking-props.js'; import type { FormControlProps } from '../../core/types/form-control-props.js'; import type { BaseInputProps } from '../_base-input/base-input.types.js'; import type { FormControlRef } from '../shared-types.js'; import type { MessageTarget } from '../validation/message-routing.js'; /** * The properties of the SecretInput component. * @public */ export type SecretInputProps = Pick & FormControlProps void> & BehaviorTrackingProps & { /** * Internal: associates this control with a `_Form` rendered outside its * React subtree via the native `form` attribute. Unstable. * @internal */ _form?: string; /** * Internal: routes this control's native/Strato validation messages to the * field outlet (default), the enclosing form's outlet, or both. Unstable. * @internal */ _messageTarget?: MessageTarget | MessageTarget[]; }; /** * Use the `SecretInput` to let users enter write-only secrets, such as API tokens. * After a secret is stored, the input shows a fixed mask with a "Replace" button, * so the secret can be changed but never displayed again. * @public */ export declare const SecretInput: (props: SecretInputProps & import("react").RefAttributes>) => import("react").ReactElement | null; //# sourceMappingURL=SecretInput.d.ts.map