import { z } from 'zod';
import { Storage } from '../../storage/storage.js';
/**
 * List tasks with hierarchical display, optionally filtered by project and parent
 * Version 2.0: Updated for unified task model supporting unlimited hierarchy
 *
 * @param storage - Storage instance
 * @returns MCP tool handler for listing tasks
 */
export declare function createListTasksTool(storage: Storage): {
    name: string;
    description: string;
    inputSchema: {
        projectId: z.ZodString;
        parentId: z.ZodOptional<z.ZodString>;
        showHierarchy: z.ZodOptional<z.ZodBoolean>;
        includeCompleted: z.ZodOptional<z.ZodBoolean>;
    };
    handler: ({ projectId, parentId, showHierarchy, includeCompleted }: {
        projectId: string;
        parentId?: string;
        showHierarchy?: boolean;
        includeCompleted?: boolean;
    }) => Promise<{
        content: {
            type: "text";
            text: string;
        }[];
        isError: boolean;
    } | {
        content: {
            type: "text";
            text: string;
        }[];
        isError?: undefined;
    }>;
};
