import React from 'react'; import { AddressList } from './types'; import { CascaderOption, CascaderOptionKey, CascaderProps, CascaderValue } from '../cascader/index.taro'; type AddressRef = { open: () => void; close: () => void; }; export interface AddressProps extends CascaderProps { visible: boolean; defaultVisible: boolean; value?: CascaderValue; defaultValue?: CascaderValue; type: string; options: CascaderOption[]; optionKey: CascaderOptionKey; format: Record; custom: boolean | string; existList: AddressList[]; height: string | number; defaultIcon: React.ReactNode; selectIcon: React.ReactNode; backIcon: React.ReactNode; onSwitch?: (data: { type: string; }) => void; onExistSelect?: (data: AddressList) => void; } export declare const Address: React.ForwardRefExoticComponent & Omit, "onClick" | "title" | "defaultValue" | "onChange" | "onLoad"> & React.RefAttributes>; export {};