/**
 * Handler for project_delete messages.
 * Validates the project exists, deletes it from SQLite, stops the file watcher,
 * and sends project_removed to the gateway.
 */
import type { RequestMessage, Message } from "@pocketcoder/shared";
import type { GatewayClient } from "../gateway/websocket-client.js";
/**
 * Provide the gateway client to the handler.
 * Must be called during daemon startup before messages arrive.
 */
export declare function setProjectDeleteGatewayClient(client: GatewayClient): void;
/**
 * Provide a callback to stop the file watcher for a given project.
 * Must be called during daemon startup.
 */
export declare function setProjectDeleteStopWatcher(stopWatcher: (projectId: string) => Promise<void>): void;
export declare function handleProjectDelete(message: RequestMessage, send: (response: Message) => void): Promise<void>;
//# sourceMappingURL=project-delete.d.ts.map