import type { PiLikeContext } from "../pi-context.js"; export declare function registerCommand(ctx: PiLikeContext, name: string, definition: { description: string; handler: (args: string, ctx: PiLikeContext) => unknown; }): void; export declare function registerTool(ctx: PiLikeContext, definition: { name: string; label: string; description: string; parameters: unknown; execute: (toolCallId: string, params: unknown, signal: AbortSignal, onUpdate: (update: unknown) => void, ctx: PiLikeContext) => unknown; }): void; export declare function withActivationActions(commandCtx: PiLikeContext, activationCtx: PiLikeContext): PiLikeContext;