import type { ProfileId } from '../profiles/index.js';
import type { PhaseInstructions, PhaseOverride, SetupAgentsTaskRoles, WorkflowPhase } from '../types/index.js';
export declare const PHASE_SEQUENCE: WorkflowPhase[];
export declare const ALWAYS_INCLUDED: WorkflowPhase[];
export declare const PROFILE_PHASE_MAP: Partial<Record<string, WorkflowPhase>>;
export declare const PHASE_TO_PROFILE: Record<WorkflowPhase, ProfileId>;
export declare const PHASE_GATES: Set<string>;
export declare const PHASE_PLAYBOOKS: Record<WorkflowPhase, string[]>;
export declare function resolvePhaseSequence(profiles: string[], taskRoles?: SetupAgentsTaskRoles, phaseOverrides?: PhaseOverride[], declaredPhases?: WorkflowPhase[]): WorkflowPhase[];
export declare function resolveImplementorProfile(activeProfiles: ProfileId[]): ProfileId;
export declare const DEFAULT_INSTRUCTIONS_DIR = ".setup-agents/playbooks";
export declare function resolvePhaseInstructions(cwd: string, phase: WorkflowPhase, instructionsDir?: string): PhaseInstructions;
export declare function resolveAllPhaseInstructions(cwd: string, instructionsDir?: string): PhaseInstructions[];
export { phaseToProfile, phaseDeliversTo, phaseValidatesWith, getPhaseDefinition } from '../phases/registry.js';
