import { type SkillsSyncResult } from './agent-skills.js'; export declare const AUTO_UPDATE_ENV = "NETLIFY_SKILLS_AUTO_UPDATE"; export declare const REFRESH_INTERVAL_MS: number; /** * Lists the skills directories, relative to `repositoryRoot`, that already hold a Netlify skill. * A background refresh only writes to these, so it never adds skills to a project, or to an agent * directory, that has none. */ export declare const installedSkillsDirectories: (repositoryRoot: string, knownSkills?: string[]) => Promise; /** * Starts a background refresh of the project's Netlify skills when one is due, and returns whether * it did. Only local files are read here. The manifest request and any downloads happen in a * detached process, so the calling command never waits for them. */ export declare const startAgentSkillsRefresh: ({ repositoryRoot, env, now, ci, spawn, }: { repositoryRoot: string; env?: NodeJS.ProcessEnv; now?: number; ci?: boolean; spawn?: (repositoryRoot: string) => void; }) => Promise; /** * Runs in the detached process. When the manifest changed since the last sync, brings every * directory that already holds Netlify skills up to date and saves what changed for the next * command to show. A skill missing from a directory is added unless the project has had it * installed before, so skills someone deleted stay deleted. */ export declare const refreshAgentSkills: ({ repositoryRoot, env, }: { repositoryRoot: string; env?: NodeJS.ProcessEnv; }) => Promise; /** Shows what earlier background refreshes changed, once, and returns the lines it wrote. */ export declare const showAgentSkillsRefreshNotice: ({ repositoryRoot, write, }: { repositoryRoot: string; write?: (line: string) => void; }) => Promise; //# sourceMappingURL=agent-skills-refresh.d.ts.map