import { AxiosRequestConfig } from 'axios'; import { Obj } from '../type'; export interface ConeUrlOptions { urlPath: string; /** * 是否拼接用于验证身份的参数 accessToken, 默认 true */ auth?: boolean; /** * 是否是旧平台 */ isOld?: boolean; /** * 是否是物料平台 */ isAsset?: boolean; } export declare function getConeUrl({ urlPath, auth, isOld, isAsset, }: ConeUrlOptions): string; /** @todo 待移除 */ export declare function getSDUrl({ urlPath, auth, }: ConeUrlOptions): string; export declare function callCone(options: AxiosRequestConfig & ConeUrlOptions): Promise; /** @todo 待移除 */ export declare function packConeIterationUrl(data: Obj): string; /** @todo 待移除 */ export declare function getSDIterationUrl(data: Obj): string;