import { StrategiesCustomType } from '../index';
import { AxiosRequestConfigExtend } from '../types';
export interface StrategiesType extends StrategiesCustomType {
    /**
     * 业务错误
     */
    BUSINESS_ERROR: any;
    /**
     * 授权
     */
    NOT_AUTH: any;
    /**
     * 身份过期
     */
    INVALID_TOKEN: any;
    /**
     * 权限不足
     */
    PERMISSION_DENIED: any;
    /**
     * 系统错误
     */
    SYSTEM_ERROR: any;
    /**
     * 缺省错误，可以理解成 switch case 的 default 分支
     */
    DEFAULT: any;
}
export interface Strategies {
    strategy: keyof StrategiesType;
    codeKey: string;
    codeValue: number | number[];
    msgKey: string;
}
export declare type StrategiesInParams = {
    data: any;
    config: AxiosRequestConfigExtend;
} & Omit<Strategies, 'strategy'>;
