import { RequestInfo } from '@farris/bef-vue';
export declare const AppType: {
    App: string;
    Menu: string;
    Other: string;
};
export declare const TAB_EVENT: {
    /**
     * Tab关闭后
     */
    onTabClosed: string;
    /**
     * Tab关闭前
     */
    onTabClosing: string;
    /**
     * Tab切换
     */
    onTabSwitched: string;
};
export declare const TAB_QUERY_STRING: {
    TabId: string;
    AppType: string;
    AppId: string;
    AppEntrance: string;
    FuncId: string;
};
/**
 * 带RequestInfo的body对象
 */
export interface BodyWithRequestInfo {
    requestInfo: RequestInfo;
    [key: string]: any;
}
export declare const WEB_FORM_ROUTE_PARAMS_KEY = "WEB_FORM_ROUTE_PARAMS";
export declare const enum DataType {
    map = "[object Map]"
}
export declare namespace GspFramework {
    /**
     * 框架用户信息描述
     */
    type UserInfo = {
        id: string;
        code: string;
        name: string;
        orgId: string;
        orgName: string;
        lanName: string;
        languageId: string;
        unitId: string;
        unitName: string;
    };
    /**
     * 框架用户服务
     */
    type UserInfoService = {
        get: () => UserInfo;
    };
    /**
     * 框架common服务
     */
    type CommonService = {
        userInfos: UserInfoService;
    };
    type RuntimeFrameworkService = {};
    /**
     * 框架服务
     */
    type FrameworkService = {
        common: CommonService;
        rtf: RuntimeFrameworkService;
    };
}
/**
 * 导航历史
 */
export interface NavigationHistory {
    from: string;
    to: string;
}
export type AtLeastOne<T, K extends keyof T = keyof T> = {
    [P in K]: Required<Pick<T, P>> & Partial<Omit<T, P>>;
}[K];
/**
 * 分级类型
 */
export declare enum HierarchyType {
    /**
     * 父节点树
     */
    parent = "parent",
    /**
     * 分级码树
     */
    path = "path"
}
export declare enum ViewState {
    Initial = "Initial",
    Add = "Add",
    Edit = "Edit"
}
