import { LegacyDataNode, Key } from '@aplus-frontend/antdv/es/vc-tree-select/interface';
import { ApFieldTreeSelectProps } from '../interface';
import { Ref } from 'vue';
import { RawValueType, BaseOptionType, DefaultOptionType } from '@aplus-frontend/antdv/es/vc-tree-select/TreeSelect';
export declare const useRequest: (props: ApFieldTreeSelectProps) => {
    treeData: Ref<({
        [x: string]: any;
        disabled?: boolean | undefined;
        checkable?: boolean | undefined;
        disableCheckbox?: boolean | undefined;
        children?: /*elided*/ any[] | undefined;
    } | {
        [x: string]: any;
        value?: RawValueType | undefined;
        title?: any;
        label?: any;
        key?: Key | undefined;
        children?: /*elided*/ any[] | undefined;
        disabled?: boolean | undefined;
        checkable?: boolean | undefined;
        disableCheckbox?: boolean | undefined;
    })[] | undefined, ( BaseOptionType | DefaultOptionType)[] | ({
        [x: string]: any;
        disabled?: boolean | undefined;
        checkable?: boolean | undefined;
        disableCheckbox?: boolean | undefined;
        children?: /*elided*/ any[] | undefined;
    } | {
        [x: string]: any;
        value?: RawValueType | undefined;
        title?: any;
        label?: any;
        key?: Key | undefined;
        children?: /*elided*/ any[] | undefined;
        disabled?: boolean | undefined;
        checkable?: boolean | undefined;
        disableCheckbox?: boolean | undefined;
    })[] | undefined>;
    request: (targetNode?: LegacyDataNode, clear?: boolean) => Promise<void>;
    loading: Ref<boolean, boolean>;
};
