import { EnginePool } from '@cicctencent/agent-core'; export { EnginePool } from '@cicctencent/agent-core'; /** EnginePool 初始化配置 */ export interface EnginePoolConfig { /** TTL(ms),默认 5 分钟 */ ttl?: number; /** 最大缓存数量,默认 10 */ maxSize?: number; } /** * 获取全局 Engine 池单例。 * * 首次调用时按 config 创建;后续调用忽略 config(已创建的池不会被覆盖)。 * 如需重新创建,请先调用 `resetEnginePool()`。 */ export declare function getEnginePool(config?: EnginePoolConfig): EnginePool; /** 重置全局池(测试用 / 配置变更后重建) */ export declare function resetEnginePool(): void; //# sourceMappingURL=engine-pool.d.ts.map