import { BackendRuntimeContext } from '../../context/BackendRuntimeContext'; import { FrontendRuntimeContext, AspectDict } from '../../context/FrontendRuntimeContext'; import { ED } from '../../types/RuntimeCxt'; import Cos from '../../types/Cos'; /** * 注入一个其它OSS上实现的uploader类 * @param clazz */ export declare function registerCos, FrontCxt extends FrontendRuntimeContext>>(clazz: new () => Cos): void; export declare function getCos, FrontCxt extends FrontendRuntimeContext>>(origin: string): Cos; export declare function composeFileUrl, FrontCxt extends FrontendRuntimeContext>>(extraFile: ED2['extraFile']['OpSchema'], context: Cxt | FrontCxt, style?: string): any;