/** * Shared agent operations * Functions parameterized by AgentConfig that replace duplicated agent methods */ import { type Config } from "../config.js"; import type { AgentConfig, ExistingConfig } from "./agentRegistry.js"; import type { ManifestDiff } from "./manifest.js"; export declare const getManagedFiles: (args: { agent: AgentConfig; }) => ReadonlyArray; export declare const getManagedDirs: (args: { agent: AgentConfig; }) => ReadonlyArray; /** * Read the skillset name recorded in a directory's .nori-managed marker. * The single read path for "what is installed for agent A at directory D". * * @param args - Configuration arguments * @param args.agent - Agent to check * @param args.path - Install directory to check * * @returns The recorded skillset name ("" for pre-name markers), or null when * the directory has no marker */ export declare const getInstalledSkillsetName: (args: { agent: AgentConfig; path: string; }) => string | null; export declare const isInstalledAtDir: (args: { agent: AgentConfig; path: string; }) => boolean; export declare const markInstall: (args: { agent: AgentConfig; path: string; skillsetName?: string | null; }) => void; export declare const installSkillset: (args: { agent: AgentConfig; config: Config; }) => Promise; export declare const switchSkillset: (args: { agent: AgentConfig; installDir: string; skillsetName: string; }) => Promise; export declare const removeSkillset: (args: { agent: AgentConfig; installDir: string; }) => Promise; export declare const detectLocalChanges: (args: { agent: AgentConfig; installDir: string; }) => Promise; export declare const detectExistingConfig: (args: { agent: AgentConfig; installDir: string; }) => Promise; export declare const captureExistingConfig: (args: { agent: AgentConfig; installDir: string; skillsetName: string; config: Config; }) => Promise; export declare const findArtifacts: (args: { agent: AgentConfig; startDir: string; stopDir?: string | null; }) => Promise>; //# sourceMappingURL=agentOperations.d.ts.map