import type { CompiledDynamicToolDefinition } from "#compiler/manifest.js"; import type { CompiledModuleMap } from "#compiler/module-map.js"; import type { ResolvedDynamicToolResolver } from "#runtime/types.js"; /** * Resolves one compiled dynamic tool entry into a runtime-owned resolver * with live event handler functions reattached from the authored module. * * The resolver's `events` map is validated: each declared event name must * map to a function. The handlers are not called here — they run later at * the lifecycle point indicated by each event name. */ export declare function resolveDynamicToolDefinition(definition: CompiledDynamicToolDefinition, moduleMap: CompiledModuleMap, nodeId: string | undefined): Promise;