import { default as 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<string, string | number | null>;
    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<Partial<AddressProps> & Omit<React.HTMLAttributes<HTMLDivElement>, "onClick" | "title" | "defaultValue" | "onChange" | "onLoad"> & React.RefAttributes<AddressRef>>;
export {};
