1 | import type { SiLookupTypeId, SiVariant } from '../interfaces/index.js';
|
2 | import type { PortableRegistry } from '../metadata/index.js';
|
3 | interface TypeHolder {
|
4 | type: SiLookupTypeId;
|
5 | }
|
6 | export declare function lazyVariants<T>(lookup: PortableRegistry, { type }: TypeHolder, getName: (v: SiVariant) => string, creator: (v: SiVariant) => T): Record<string, T>;
|
7 | export {};
|