import type { FeatureNodeState } from '../components/common/feature-node/index.js';
/**
 * Derives the UI feature node state from lifecycle phase and agent run status.
 * - 'maintain' lifecycle always returns done (completed feature)
 * - Agent status maps: completed->done, failed->error, waiting_approval->action-required
 * - Default: running with 0 progress
 */
export declare function deriveState(lifecycle: string, agentStatus: string | undefined): {
    state: FeatureNodeState;
    progress: number;
};
//# sourceMappingURL=derive-state.d.ts.map