import type { WatchSource } from "vue"; import type { VueFrontendTool } from "../types"; /** * Registers a frontend tool and optional renderer with CopilotKit core. * * The tool registration is reactive to provided dependencies and is cleaned up * automatically when the current scope is disposed. * * @example * ```ts * useFrontendTool({ * name: "sayHello", * parameters: z.object({ name: z.string() }), * handler: async ({ name }) => `Hello ${name}`, * }); * ``` */ export declare function useFrontendTool>(tool: VueFrontendTool, deps?: WatchSource[]): void; //# sourceMappingURL=use-frontend-tool.d.ts.map