export declare const enumToList: <T>(sourceEnum: T, unshiftEnum?: boolean) => {
    id: number;
    label: keyof T;
}[];
export interface OptionType {
    label: string | number;
    value: string | number;
    children?: Array<OptionType>;
}
export declare const enum2array: (e: {
    [key: string]: string | number;
}) => Array<OptionType>;
