/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
/**
 * @plan PLAN-20260129-TODOPERSIST.P06
 * @requirement REQ-003, REQ-004, REQ-005, REQ-006, REQ-007
 */
import type { SlashCommand } from './types.js';
import type { Todo } from '@vybestack/llxprt-code-core';
/**
 * Parsed position result for /todo add and /todo remove
 * @plan PLAN-20260129-TODOPERSIST.P06
 * @plan PLAN-20260129-TODOPERSIST-EXT.P21
 */
export interface ParsedPosition {
    parentIndex: number;
    subtaskIndex?: number;
    isLast: boolean;
}
/**
 * Parse user position input (1-based) into internal position.
 * @plan PLAN-20260129-TODOPERSIST.P06
 * @requirement REQ-005
 * @pseudocode lines 42-74
 */
export declare function parsePosition(pos: string, todos: Todo[]): ParsedPosition;
/**
 * Main /todo command with subcommands
 * @plan PLAN-20260129-TODOPERSIST.P06
 */
export declare const todoCommand: SlashCommand;
