import type { SessionInfo } from "@earendil-works/pi-coding-agent"; import { type CommandControllerHost } from "./command-host.js"; import { type ResumeSessionLoaderOptions } from "../session/resume-session-loader.js"; import type { PopupMenuPlacement } from "../types.js"; export declare function formatHistoryMenuLabel(text: string): string; export declare function historyHighlightRanges(ranges: readonly { start: number; end: number; }[], text: string): { start: number; end: number; }[]; export declare class NavigationCommandActions { private readonly host; private readonly resumeSessionLoader; private resumeLoadId; constructor(host: CommandControllerHost, resumeSessionLoader?: (options: ResumeSessionLoaderOptions) => Promise); runForkCommand(argumentsText: string): Promise; runCloneCommand(): Promise; runTreeCommand(argumentsText: string): Promise; runJumpCommand(argumentsText: string): Promise; runHistoryCommand(argumentsText: string): Promise; runSearchCommand(argumentsText: string): Promise; runUnsupportedBuiltinCommand(commandName: string, message: string): Promise; runResumePathCommand(sessionPath: string): Promise; runResumeCommand(queryOrOptions?: string | { preserveStatus?: boolean; placement?: PopupMenuPlacement; draft?: boolean; }): Promise; private loadResumeSessionsInBackground; private formatSessionTree; private describeSessionTreeEntry; }