import type { FieldBaseClient, PasswordFieldValidation, StaticDescription, TextFieldClient } from 'payload'; import type { ChangeEvent, CSSProperties } from 'react'; import type React from 'react'; import type { MarkOptional } from 'ts-essentials'; export type PasswordFieldProps = { readonly autoComplete?: string; readonly field: MarkOptional; /** * @default '' */ readonly indexPath?: string; readonly inputRef?: React.RefObject; /** * @default '' */ readonly parentPath?: string; /** * @default '' */ readonly parentSchemaPath?: string; /** * @default field.name */ readonly path: string; /** * @default field.name */ readonly schemaPath?: string; readonly validate?: PasswordFieldValidation; }; export type PasswordInputProps = { readonly AfterInput?: React.ReactNode; readonly autoComplete?: string; readonly BeforeInput?: React.ReactNode; readonly className?: string; readonly description?: StaticDescription; readonly Description?: React.ReactNode; readonly Error?: React.ReactNode; readonly field?: MarkOptional; readonly inputRef?: React.RefObject; readonly Label?: React.ReactNode; readonly label: FieldBaseClient['label']; readonly localized?: boolean; readonly onChange?: (e: ChangeEvent) => void; readonly onKeyDown?: React.KeyboardEventHandler; readonly path: string; readonly placeholder?: Record | string; readonly readOnly?: boolean; readonly required?: boolean; readonly rtl?: boolean; readonly showError?: boolean; readonly style?: React.CSSProperties; readonly value?: string; readonly width?: CSSProperties['width']; }; //# sourceMappingURL=types.d.ts.map