import type { ExtensionAPI, ExtensionFactory } from "@ch1nyzzz/pi-coding-agent"; export interface EvoCodeFeatureAPI { on: ExtensionAPI["on"]; registerTool: ExtensionAPI["registerTool"]; } export interface EvoCodeFeatureDefinition { id: string; setup(api: EvoCodeFeatureAPI): void | Promise; } /** @internal Used by the pinned policy runtime to hide dormant code-feature tools. */ export declare function filterEvoCodeFeatureTools(toolNames: readonly string[], enabledFeatures: readonly string[], options?: { root?: string; }): string[]; /** * Wrap code-owned tools and hooks so only sessions whose pinned bundle enables * the feature id can invoke them. Register this after createPolicyRuntimeExtension; * createEvoExtension does that ordering automatically. */ export declare function createEvoCodeFeatureExtension(feature: EvoCodeFeatureDefinition, options?: { root?: string; }): ExtensionFactory; //# sourceMappingURL=code-feature.d.ts.map