import type { Ref, Slots } from 'vue';
import type { SelectKeysType, SelectOption, SelectOptionGroup, SelectValue, TdOptionProps, TdSelectProps } from '../type';
declare type UniOption = (TdOptionProps | SelectOptionGroup) & {
    index?: number;
    slots?: Slots;
};
export declare const useSelectOptions: (props: TdSelectProps, keys: Ref<SelectKeysType>) => {
    options: import("vue").ComputedRef<UniOption[]>;
    optionsMap: import("vue").ComputedRef<Map<SelectValue<SelectOption>, TdOptionProps>>;
    optionsList: import("vue").ComputedRef<TdOptionProps[]>;
    optionsCache: Ref<(import("../..").PlainObject | {
        checkAll?: boolean;
        content?: string | ((h: typeof import("vue").h) => import("../..").SlotReturnValue);
        default?: string | ((h: typeof import("vue").h) => import("../..").SlotReturnValue);
        disabled?: boolean;
        label?: string;
        title?: string;
        value?: string | number;
    } | {
        group: string;
        children: {
            checkAll?: boolean;
            content?: string | ((h: typeof import("vue").h) => import("../..").SlotReturnValue);
            default?: string | ((h: typeof import("vue").h) => import("../..").SlotReturnValue);
            disabled?: boolean;
            label?: string;
            title?: string;
            value?: string | number;
        }[];
        divider?: boolean;
        label?: string;
    })[]>;
};
export {};
