# checkImports (@salmonui/mcp)

> The checkImports function of @salmonui/mcp: 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.

Canonical: https://salmonui.dev/docs/reference/mcp/checkImports

```ts
import { checkImports } from '@salmonui/mcp';
```

Entry index: https://salmonui.dev/docs/reference/mcp (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/mcp.md).

## Reference

Kind: function

```ts
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.
