import type { ActionEntry } from "../agent/production-agent.js"; export declare function carryExecutionKey(from: object, to: object): void; export declare function discoveredActionMcpAnnotations(readOnly: boolean): Readonly<{ readonly readOnlyHint: true; readonly destructiveHint: false; readonly openWorldHint: true; }> | Readonly<{ readonly readOnlyHint: false; readonly destructiveHint: true; readonly openWorldHint: true; }>; /** * The flags of a loaded action module that every registry keeps, so an action * validates, asks for approval, and checks access the same way however it was * loaded. Each flag is kept only when its value has the right shape. */ export declare function preserveActionFlags(entry: Record): Partial; /** * The object a loaded action module defines its action on. Named `tool` and * `run` exports come first, as the built registry and the directory loader * take them, so the dev scan registers the same action production does. * Otherwise it's the default-exported object, if that's an action. */ export declare function actionDefinition(mod: Record): Record | undefined; /** * The entry the dev filesystem scan registers for a loaded action module: the * real `run` plus the same flags a built registry keeps, and conservative MCP * annotations when the module declares no valid ones. */ export declare function filesystemActionEntry(def: Record): ActionEntry;