export interface DictionaryOption {
    label: string;
    value: any;
    /**
     * 标签类型 'success' | 'warning' | 'info' | 'primary' | 'danger'
     */
    tagType?: 'success' | 'warning' | 'primary' | 'danger';
}
export interface UseDictionaryOptions {
    /**
     * 是否立即执行字典数据获取
     */
    immediate?: boolean;
}
/**字典 */
export declare const useDictionary: <T extends string>(fieldCodes: T[], options?: UseDictionaryOptions) => {
    dictionaryList: import("vue").Ref<{
        id: number;
        fieldName: string;
        fieldCode: string;
        description?: string | undefined;
        businessLine?: string | undefined;
        businessDomain?: string | undefined;
        dataType: number;
        dictValueCount?: number | undefined;
        status?: number | undefined;
        tableName?: string | undefined;
        tableFieldName?: string | undefined;
        remark?: string | undefined;
        createdAt?: string | undefined;
        updatedAt?: string | undefined;
        enterpriseId?: number | undefined;
        values?: {
            id: number;
            dictionaryId: number;
            valueName: string;
            valueCode: string | number | boolean;
            tagType?: string | undefined;
            sortOrder?: number | undefined;
            status?: number | undefined;
            createdAt?: string | undefined;
            updatedAt?: string | undefined;
        }[] | undefined;
    }[]>;
    dictionary: import("vue").ComputedRef<Record<T, DictionaryOption[]>>;
    isLoading: import("vue").Ref<boolean>;
    getDictionary: () => Promise<void>;
};
