interface PropertyRule { [key: string]: string | (() => string); } export interface Uniq { appTemplate: string; template: string; h5Template: string; property: PropertyRule; } export interface ResourceUrlConfig extends Record string)> { uniqKey: string; } export declare enum DataType { Fav = "fav",// 收藏 History = "history",// 历史记录 List = "list",// 聚合页、频道页、推荐页 Search = "search" } export interface TargetUrl { uniqKey: string; h5Url: string; appUrl: string; webUrl: string; uniqValue: string; } export declare enum PlatformType { App = "app", H5 = "h5", Web = "web" } export interface ResourceRule extends ResourceUrlConfig { uniqValue: string; } export interface ResourceRules { uniqKey: string; matched: ResourceRule[] | string; } export {};