/**
 * Re-entry orientation — WAITING ON YOU / MOVED / ACTIVE.
 */
import type { TrellisVcsEngine } from '../engine.js';
import type { IssueInfo } from '../vcs/issue.js';
import { type HandoffEnvelope } from './envelope.js';
export interface ReentryCheckpoint {
    at: string;
    issueIds: string[];
    openMessageIds: string[];
}
export interface WhereamiOptions {
    engine: TrellisVcsEngine;
    rootPath: string;
    debug?: boolean;
}
export declare function loadCheckpoint(rootPath: string): ReentryCheckpoint | null;
export declare function writeCheckpoint(rootPath: string, issueIds: string[], openMessageIds: string[]): ReentryCheckpoint;
export declare function collectProtocolChildren(engine: TrellisVcsEngine): IssueInfo[];
export declare function findWaitingOnYou(engine: TrellisVcsEngine): Array<{
    issue: IssueInfo;
    envelope: HandoffEnvelope;
}>;
export declare function findMovedSinceCheckpoint(engine: TrellisVcsEngine, rootPath: string): IssueInfo[];
export interface ActiveContext {
    issues: IssueInfo[];
    laneId?: string;
    worktreePath?: string;
    editRoot: string;
}
export declare function getActiveContext(engine: TrellisVcsEngine, rootPath: string): ActiveContext;
export declare function formatWhereami(opts: WhereamiOptions): string;
//# sourceMappingURL=whereami.d.ts.map