export type DialogType = {
    show: (options: {
        data: any;
        callback: (val: any) => void;
    }) => void;
};
export type ModelValue = {
    allUser: number | string;
    userIds: number[];
    roleIds: number[];
    groupIds: number[];
    groupRoles: {
        roleId: number;
        groupId: number;
    }[];
    draftTarget: any[];
    [key: string]: any;
};
/**
 * 判断 allUser 是否为指定值（兼容字符串和数字）
 * @param allUser - allUser 值
 * @param target - 目标值 (1 或 2)
 */
export declare const isAllUser: (allUser: number | string | undefined, target: 1 | 2) => boolean;
