/**
 * Task Backend Management
 *
 * Provides abstraction layer for different task management backends:
 * - markdown: Traditional plan file with checkbox tasks
 * - beads: Beads distributed issue tracker integration
 */
export type TaskBackend = 'markdown' | 'beads';
export interface TaskBackendConfig {
    backend: TaskBackend;
    isAvailable: boolean;
    errorMessage?: string;
}
/**
 * Task backend detection and management utility
 */
export declare class TaskBackendManager {
    /**
     * Detect and validate the requested task backend
     *
     * When TASK_BACKEND is not set:
     * - Auto-detects if beads (bd) command is available
     * - Uses beads if bd command exists, markdown otherwise
     *
     * When TASK_BACKEND is explicitly set:
     * - Uses the specified backend (markdown or beads)
     * - For beads, validates availability and provides setup instructions if not available
     */
    static detectTaskBackend(): TaskBackendConfig;
    /**
     * Check if beads command is available and functional
     */
    static checkBeadsAvailability(): {
        isAvailable: boolean;
        errorMessage?: string;
    };
    /**
     * Get setup instructions for beads backend
     */
    static getBeadsSetupInstructions(): string;
    /**
     * Validate task backend configuration and throw error if invalid
     */
    static validateTaskBackend(): TaskBackendConfig;
}
