import { FunctionComponent } from 'react'; import { IdentifiedAddress } from '@gecogvidanto/shared'; export interface ControlledAddressProps { appId?: string; apiKey?: string; id: string; name?: string; label: string; fullWidth?: boolean; autoFocus?: boolean; defaultValue?: string | IdentifiedAddress; onChange?: (value: string | IdentifiedAddress) => void; onLimit?: (value: string) => void; onError?: (value: string) => void; } /** * A controlled address with auto-completion. */ declare const ControlledAddress: FunctionComponent; export default ControlledAddress;