/**
 * Resolve Waiting Feature Helper
 *
 * Shared helper for feat review/approve/reject commands.
 * Given an optional feature ID and repo path, resolves the target
 * feature that is currently waiting for human approval.
 */
import type { Feature, AgentRun } from '../../../../../packages/core/src/domain/generated/output.js';
import type { IFeatureRepository } from '../../../../../packages/core/src/application/ports/output/repositories/feature-repository.interface.js';
import type { IAgentRunRepository } from '../../../../../packages/core/src/application/ports/output/agents/agent-run-repository.interface.js';
export interface ResolveWaitingFeatureOptions {
    featureId?: string;
    repoPath: string;
    featureRepo: IFeatureRepository;
    runRepo: IAgentRunRepository;
}
export interface ResolvedWaitingFeature {
    feature: Feature;
    run: AgentRun;
}
/**
 * Resolve the target feature waiting for approval.
 *
 * If featureId is provided, looks it up directly.
 * Otherwise, lists features for the repo and finds the single waiting one.
 *
 * @throws When feature not found, not waiting, or ambiguous (0 or 2+)
 */
export declare function resolveWaitingFeature(options: ResolveWaitingFeatureOptions): Promise<ResolvedWaitingFeature>;
//# sourceMappingURL=resolve-waiting-feature.d.ts.map