import type { DesignInventory } from "./inventory.js"; import type { FixCluster } from "../fix/cluster.js"; import type { ResolvedConfig } from "../types.js"; export type PlacementKind = "kit-component" | "app-composition" | "tokens" | "kit-gap" | "unclear"; export interface Placement { placement: PlacementKind; primaryPath: string | null; symbol: string | null; reason: string; otherCallers: number | null; blastRadius: string; alsoRead: string[]; notes: string; } /** The inventory as the skill sees it: facts, in the order they matter. */ export declare function inventoryBrief(inv: DesignInventory): string; /** * Where this defect belongs, or null when the project has no design system to * place it in. A project without a kit has exactly one place a fix can go, so * spending a model call to be told so would be waste. */ export declare function placeDefect(resolved: ResolvedConfig, cluster: FixCluster, inv: DesignInventory, model?: string): Promise<{ placement: Placement | null; costUsd: number; }>;