/** * Workspace setup metadata in `/.xopc/workspace.json` * (same path as `resolveWorkspaceStatePath` / `xopc init`). */ import type { Config } from '../../config/schema.js'; import { resolveWorkspaceStatePath } from '../../config/paths.js'; export { resolveWorkspaceStatePath }; export interface WorkspaceSetupState { version: number; /** Set by `xopc init` for the agent id owning this workspace. */ agentId?: string; /** ISO timestamp when profile Markdown was first seeded (init / agents add). */ profileMarkdownSeededAt?: string; } /** Resolve workspace state path when only the Markdown workspace root is known. */ export declare function resolveWorkspaceStatePathForMarkdownWorkspace(markdownWorkspaceDir: string): string; /** Resolve workspace state path from config + agent id. */ export declare function resolveAgentWorkspaceStatePath(config: Config, agentId: string): string; /** Record profile Markdown seed time (idempotent). */ export declare function markProfileMarkdownSeeded(statePath: string): void;