import { KeyringSectionOption, KeyringOption$Type } from '@polkadot/ui-keyring/options/types'; import { BareProps } from '../types'; import { Option } from './types'; import React from 'react'; interface Props extends BareProps { defaultValue?: Uint8Array | string | null; filter?: string[]; help?: React.ReactNode; hideAddress?: boolean; isDisabled?: boolean; isError?: boolean; isInput?: boolean; isMultiple?: boolean; label?: React.ReactNode; labelExtra?: React.ReactNode; onChange?: (value: string | null) => void; onChangeMulti?: (value: string[]) => void; options?: KeyringSectionOption[]; optionsAll?: Record; placeholder?: string; type?: KeyringOption$Type; value?: string | Uint8Array | string[] | null; withEllipsis?: boolean; withLabel?: boolean; } declare type ExportedType = React.ComponentType & { createOption: (option: KeyringSectionOption, isUppercase?: boolean) => Option; setLastValue: (type: KeyringOption$Type, value: string) => void; }; declare const ExportedComponent: ExportedType; export default ExportedComponent;