/** Top-level folder inside the archive that everything lives under. */ export declare const TOP_FOLDER = "agent-export"; /** Archive sub-paths, derived once from {@link TOP_FOLDER}. */ export declare const ARCHIVE_PATHS: { readonly workspace: "agent-export/workspace"; readonly sessionsRoot: "agent-export/sessions"; readonly manifest: "agent-export/manifest/session-ids.json"; }; /** Archive path for a given provider's session traces. */ export declare function sessionsPath(providerId: string): string; /** * Root-level documents that carry agent context/protocol. Backed up and * restored verbatim relative to the workspace root. */ export declare const ROOT_DOCS: readonly string[]; /** * Directories under the workspace that hold agent state. Each maps a * workspace-relative source to the same relative location inside * `agent-export/workspace/`. This single list is the source of truth shared * by both export and import (DRY). */ export declare const WORKSPACE_DIRS: readonly string[]; /** * Identity/connection settings in `.autodev/settings.json` that are scoped to a * specific agent and MUST NOT travel in a backup: they are the live WS auth * token + endpoint. Export strips them from the shipped settings.json (a backup * ZIP is uploaded off-VM), and import preserves the destination agent's own * values so a restore never hijacks its identity. Single source of truth shared * by both sides (DRY). */ export declare const IDENTITY_KEYS: readonly ["wsUrl", "serverBaseUrl", "serverApiKey", "webhookSlug", "agentId"]; /** Normalise a filesystem path for comparison (case-insensitive, slash-form). */ export declare function normalizePath(p: string): string; /** Root of the Copilot CLI store. */ export declare function copilotDir(): string; /** `~/.copilot/session-state` — one sub-folder per session, keyed by uuid. */ export declare function copilotSessionStateDir(): string; /** Resolve the OpenCode data directory if present (first existing wins). */ export declare function findOpenCodeDataDir(): string | undefined;