View as Markdown

API reference: @salmonui/mcp

checkImportsfunction

import { checkImports } from '@salmonui/mcp';
function checkImports(source: string, map: ExportsMap, options?: {
    stylesheets?: boolean;
}): ImportReport;

Checks every @salmonui/* import of a module: the specifier is a public entry, each named import is exported by it, no private /internal/* or removed package is used, and the stylesheets of the used families (and @salmonui/core/styles.css) are imported.