import { type AdvisoryActivation, type AdvisoryProjection } from './advisory.js'; export type AdvisoryActivationCheckpoint = 'after_intent' | 'after_mode' | 'after_run_state' | 'after_session_skill' | 'after_root_skill' | 'before_mode_fsync' | 'before_skill_mirror_commit' | 'after_skill_mirror_transaction' | 'before_commit' | 'intent_committed'; export interface ActivateOrResumeRalplanAdvisoryInput { cwd: string; sessionId: string; rootThreadId: string; activationTurnId: string; prompt: string; producer: 'native' | string; threadKind: 'root-or-drift' | string; generationId?: string; predecessorGenerationId?: string; maxIterations?: number; nowIso?: string; resumeOnly?: boolean; failpoint?: (checkpoint: AdvisoryActivationCheckpoint) => void | Promise; } type AdvisoryActivationResult = { activation: AdvisoryActivation; projection: AdvisoryProjection; }; /** * Single activation owner for Ralplan Advisory. The durable intent remains in * place until every canonical runtime projection is present, verified, and * fsynced; retries repair those projections for the same generation. */ export declare function activateOrResumeRalplanAdvisory(input: ActivateOrResumeRalplanAdvisoryInput & { resumeOnly: true; }): Promise; export declare function activateOrResumeRalplanAdvisory(input: ActivateOrResumeRalplanAdvisoryInput & { resumeOnly?: false | undefined; }): Promise; export {}; //# sourceMappingURL=advisory-activation.d.ts.map