import { AxiosResponse, AxiosRequestConfig } from 'axios';
export interface RequestConfig extends Omit<AxiosRequestConfig, 'url' | 'method'> {
    url: string;
}
export interface ResponseConfig<T> {
    code: number;
    data: T;
    msg: string;
}
export interface ResponseError<T> {
    data: ResponseConfig<T>;
    response: AxiosResponse<ResponseConfig<T>>;
    message: string;
}
export interface RoleItem {
    id: number;
    name: string;
    remark: string;
}
export interface MenuItem {
    id: number;
    name: string;
    type: number;
    parentId: number;
}
export interface OptionItem {
    id: string | number;
    name: string;
}
