import { type SyncAgent } from "./agent-sync.js"; import { type AdoptionOptions } from "./home-adoption.js"; export type DriftKind = "missing-from-home" | "stray-in-home" | "diverged"; export interface DriftEntry { agent: SyncAgent; skill: string; kind: DriftKind; path: string; homeHash?: string; canonicalHash?: string; /** True when the home's SKILL.md is a sync pointer stub rather than real content. */ homeStub?: boolean; /** True when the canonical corpus entry renders as a pointer stub (executable skill). */ canonicalStub?: boolean; } export interface DriftCensus { entries: DriftEntry[]; /** Homes that exist and were checked. */ homesChecked: number; /** Unmarked home skill dirs (adoption candidates, not drift). */ unmarked: number; /** Marked home skill dirs. */ managed: number; clean: boolean; } export declare function censusHomeDrift(options?: AdoptionOptions & { names?: string[]; }): DriftCensus;