import { z } from 'zod';
import { Storage } from '../../storage/storage.js';
/**
 * Create a new subtask within a task
 *
 * @param storage - Storage instance
 * @returns MCP tool handler for creating subtasks
 */
export declare function createCreateSubtaskTool(storage: Storage): {
    name: string;
    description: string;
    inputSchema: {
        name: z.ZodString;
        details: z.ZodString;
        taskId: z.ZodString;
    };
    handler: ({ name, details, taskId }: {
        name: string;
        details: string;
        taskId: string;
    }) => Promise<{
        content: {
            type: "text";
            text: string;
        }[];
        isError: boolean;
    } | {
        content: {
            type: "text";
            text: string;
        }[];
        isError?: undefined;
    }>;
};
