import type { MaybeRef } from 'vue';
import { DictBase } from './DictBase';
import { DictMeta } from './DictMeta';
import type { DictDataLike as DL, DictValue as DV, DictBaseOptions, DictData, DictDataListRecord, DictDataLoadingRecord, LoadDict } from './typings';
export declare class Dict
extends DictBase {
dictTypes: DT[];
dictMeta: Record>;
static debug: boolean;
loadDict: LoadDict;
constructor(dictTypes: DT[], loadDict: LoadDict, options?: Partial);
private _data;
get data(): import("vue").ComputedRef>;
private _loading;
get loading(): import("vue").ComputedRef>;
init(): void;
load(): void;
load(...args: DT[]): void;
format(dOt: DT, val: DV[], opt: {
isRaw: true;
labelField?: string;
valueField?: string;
}): DictData[];
format(dOt: DT, val: DV, opt: {
isRaw: true;
labelField?: string;
valueField?: string;
}): DictData;
format(dOt: DT, val: DV | DV[], opt?: {
symbol?: string;
labelField?: string;
valueField?: string;
}): string;
format(dOt: MaybeRef, val: DV[], opt: {
isRaw: true;
labelField?: keyof T;
valueField?: keyof T;
}): T[];
format(dOt: MaybeRef, val: DV, opt: {
isRaw: true;
labelField?: keyof T;
valueField?: keyof T;
}): T;
format(dOt: MaybeRef, val: DV | DV[], opt?: {
symbol?: string;
labelField?: keyof T;
valueField?: keyof T;
}): string;
}