type Deduped
import bend-lint-rules@0.2.0.0/layout/imports.bend as Importsimport Base
import bend-lint-api@0.2.0.0/linter/lint.bend as Lint
import bend-lint-api@0.2.0.0/shared/names.bend as Names
21# The imports read so far, each file's first only: the files they load, each with its alias; the imports kept (last
22# first); and the operations that point a dropped import's uses at the kept one's alias.
23type Deduped is Data:
24 Deduped{
25 seen: List<&2, Names.Named<String>>,
26 kept: List<&2, Entry>,
27 renames: List<&2, Lint.Operation>
28 }