import { type SkillManagementPolicy } from "../extensibility/skill-management"; import type { CustomizationSurface, GjcScope, InventoryRow } from "./types"; /** Frontmatter key written by the import flow to record provenance. */ export declare const IMPORTED_FROM_FRONTMATTER_KEY = "x-gjc-imported-from"; export interface LoadCustomizationInventoryOptions { cwd: string; /** Runtime home override (tests); defaults to the process home. */ home?: string; /** Skill management policy snapshot (trust, include/ignore, disabledExtensions). */ policy?: SkillManagementPolicy; /** Disabled extension ids (`skill:` / `mcp:`) from settings. */ disabledExtensions?: string[]; } export interface CustomizationInventory { rows: InventoryRow[]; warnings: string[]; } /** Stable row identity used for selection and mutations. */ export declare function inventoryRowId(surface: CustomizationSurface, scope: GjcScope, rowPath: string): string; /** * Load the full Skills/Hooks/MCPs inventory for the `/extensions` dashboard. * Reads only the canonical `.gjc` scopes; foreign Claude/Codex layouts are * import sources handled by the explicit import flow, never managed entries. */ export declare function loadCustomizationInventory(options: LoadCustomizationInventoryOptions): Promise;