import { type ProbedRecord } from "../../logsViewer/session/registry.js"; import { type CommandDeps } from "./commands.js"; import { type TargetArgs, type TargetDeps } from "./target.js"; export type SessionCommand = { name: "list"; } | { name: "get"; } | { name: "show"; } | { name: "comments"; all: boolean; } | { name: "comment add"; text: string; replyTo?: string; } | { name: "navigate"; } | { name: "pick"; }; export type SessionCliOptions = TargetArgs & { json: boolean; author?: string; }; export type SessionCliDeps = { sessionsDir: string; probe(dir: string): Promise; commandDeps: CommandDeps; targetDeps: Omit; writeStdout(text: string): void; }; /** `configuredLog` reads `log.logFile` from `agency.json`; the CLI passes * a function so the config is read only when a command needs it. */ export declare function defaultSessionCliDeps(configuredLog: () => string | undefined): SessionCliDeps; export declare function pathKind(absolutePath: string): "file" | "directory" | "missing"; export declare function logsSession(command: SessionCommand, options: SessionCliOptions, deps: SessionCliDeps): Promise;