import type { PortableTool } from "../skills/portable-tool.js";
import { type CommunitySeekAnswerCandidate } from "../skills/tools/community-seek-tool.js";
import { type CommunityDiscoveryResult } from "../runtime/community/community-discovery-coordinator.js";
import { type PetActivitySink } from "../runtime/community/pet-activity-sink.js";
export interface LocalCommunityToolRegistrationContext {
    tools: PortableTool<any>[];
    /** 测试可注入的发现实现;默认从 env consent client 构造协调器。 */
    discover?: (intent: string) => Promise<CommunityDiscoveryResult>;
    /** 测试可注入的经验答案源;默认经 consent client 调 hub /reviews/search(bge-m3 语义检索)。 */
    findAnswers?: (intent: string, topK: number) => Promise<CommunitySeekAnswerCandidate[]>;
    /** 测试可注入的活动发射 sink;默认从 env 解析 actorPetId 构造(无身份→null,不发)。 */
    petActivitySink?: PetActivitySink | null;
}
export declare const localCommunityToolRegistrationModule: import("../runtime/ports/tool-contracts.js").ToolRegistrationModule<LocalCommunityToolRegistrationContext>;
export declare function registerLocalCommunityTools(context: LocalCommunityToolRegistrationContext): void;
