import { DataType, PlatformType, ResourceRules, ResourceUrlConfig } from './interface'; declare class ResourceUrl { private static instance; private static config; constructor(config?: ResourceUrlConfig[]); static init(config?: ResourceUrlConfig[]): ResourceUrl; setConfig(config: ResourceUrlConfig[]): void; getTargetUrl({ data, uniqKey, type, platform }: { data: any; platform: PlatformType; uniqKey?: string; type?: DataType; }): string; getPlatform(platform: PlatformType): PlatformType; formatData(data: any): void; getRuleByUniqKey(config: ResourceUrlConfig[], data: any): ResourceRules[]; formatProperty(data: any, rules: ResourceRules[]): ({ web: any; h5: any; app: any; uniqKey: string; uniqValue: string; } | { web: string; h5: string; app: string; uniqKey: string; } | null)[]; formatTemplate(template: any, property: any, data: any): any; getPropertyValue(data: any, property: any, key: any): string; } export default ResourceUrl;