/** 全局配置快照(只读) */ export interface AppEndpoints { /** WebSocket 端点(SockJS),默认 /api/ws/form */ wsEndpoint: string; /** 网关重定向前缀(含前导 /),默认 /system-config/redirect */ redirectPrefix: string; /** 接口联动代理 URL,默认 /system-config/redirect/apiLinkage */ apiLinkageProxyUrl: string; /** 接口执行代理 URL,默认 /system-config/redirect/execute */ executeProxyUrl: string; /** 内部服务列表接口,默认 /userdb-manage/redirect/api/service/list */ serviceListUrl: string; /** 数据字典分页列表接口,默认 /system-config/system/dictinfoType/pageList */ dictPageListUrl: string; /** 表单设计器分页列表请求 URL,默认 userdb-manage/userdb/dynamicForm/pageList */ formDesignPageListUrl: string; /** 表单设计器基础路径(无前导/,供 getById 等操作拼接),默认 userdb-manage/userdb/dynamicForm */ formDesignBaseUrl: string; /** 网关前缀(含前导 /,用于 URL 拼接),默认 /userdb-manage */ gatewayPrefix: string; /** 网关服务名(无前导 /,用于 apiInstance 函数),默认 userdb-manage */ gatewayServiceName: string; } /** * 配置全局 API 端点(无状态注入) * * 仅需覆盖与默认不同的端点即可,未传入的保持默认值。 * * @example * ```ts * import { configureAppEndpoints } from "star-horse-form"; * configureAppEndpoints({ * gatewayPrefix: "/my-gateway", * apiLinkageProxyUrl: "/my-gateway/redirect/apiLinkage", * executeProxyUrl: "/my-gateway/redirect/execute", * }); * ``` */ export declare function configureAppEndpoints(partial: Partial): void; /** 获取当前全局端点配置(只读) */ export declare function getAppEndpoints(): Readonly; export declare const appEndpoints: Readonly;