import type { EpsEntity, EpsModuleMap } from '../../typings/admin/comm/eps';
export type EpsSide = 'admin' | 'app';
export { parseEpsPayload } from './eps-payload';
/**
 * 拉取 EPS。
 * - DEV：始终 HTTP
 * - PROD：先读打包 eps.json；仅当 bundle.eps === true 才请求；失败/空 modules 回退本地
 */
export declare function loadEps(force?: boolean, side?: EpsSide): Promise<EpsModuleMap>;
export declare function loadAllEps(force?: boolean): Promise<{
    admin: EpsModuleMap;
    app: EpsModuleMap;
}>;
export declare function getEps(side?: EpsSide): EpsModuleMap;
/** 按 prefix 找实体，如 /admin/base/user、/app/user/info */
export declare function findEpsEntity(prefix: string, side?: EpsSide): EpsEntity;
export declare function clearEpsCache(side?: EpsSide): void;
