import { RegisterOptions } from 'react-hook-form'; import { Address, AddressUpdatableInfo } from '@zeniai/client-epic-state'; import { DisableMode } from '../common/common'; export type AddressValueFieldType = Address | AddressUpdatableInfo; export interface AddressValueFieldProps { name: string; defaultValue?: AddressValueFieldType; isDisabled?: DisableMode; placeholder?: string; registerOptions?: RegisterOptions; style?: React.CSSProperties; onClick?: () => void; } declare const AddressValueField: (props: Readonly) => import("react/jsx-runtime").JSX.Element; /** * Helpers */ export declare const getAddressTexts: (address?: Address | AddressUpdatableInfo, placeholder?: string) => { text1: string | undefined; text2?: undefined; } | { text1: string; text2: string; }; export default AddressValueField;