import request from './request';
import { AxiosInstanceExtend } from './types';
export * from './types';
/**
 * 暴露自定义错误 code 对象
 */
export declare const customCode: {
    custom: number;
    canceled: number;
};
export default request;
/**
 * 模块扩充，自定义新增请求方法
 *
 * @example
 * ```ts
 * declare module '@kt/request' {
 *   interface RequestCustomMethods {
 *     get2;
 *     // or
 *     get2:any;
 *     // or
 *     // @ts-ignore
 *     get2;
 *   }
 * }
 * ```
 */
export interface RequestCustomMethods {
}
/**
 * 模块扩充，自定义验证器策略
 *
 * @example
 * ```ts
 * declare module '@kt/request' {
 *   interface StrategiesCustomType {
 *     FOO;
 *     // or
 *     FOO:any;
 *     // or
 *     // @ts-ignore
 *     FOO;
 *   }
 * }
 * ```
 */
export interface StrategiesCustomType {
}
declare module '@vue/runtime-core' {
    interface ComponentCustomProperties {
        $request: AxiosInstanceExtend;
    }
}
