import { ChatInputCommandInteraction } from "discord.js"; import { DisclawDatabase } from "../db/database"; import { DisclawConfig } from "../config/loader"; /** * Validates that an agent name is safe and does not escape the workspaces root * via path traversal. Throws an Error if the resolved path would lie outside root. */ export declare function validateAgentName(name: string, workspacesRoot: string): void; export declare const newAgentCommand: import("discord.js").SlashCommandOptionsOnlyBuilder; export declare function handleNewAgent(interaction: ChatInputCommandInteraction, db: DisclawDatabase, config: DisclawConfig): Promise; //# sourceMappingURL=new-agent.d.ts.map