import type { ID } from './constants'; import type { Intersect } from '../utils'; import type { AttributeNames, AttributeValueByName } from '../schema'; import type * as UID from '../uid'; /** * Represents a component entry. * * @template TComponentUID - The component schema UID * @template TComponentKeys - A union of keys to be returned in the final object. If not specified, defaults to all the keys. */ export type Component = AttributeNames> = Intersect<[{ id: ID; }, Pick, TComponentKeys>]>; /** * @internal */ type AttributeValues = { [TAttributeName in AttributeNames]?: AttributeValueByName | null; }; export {}; //# sourceMappingURL=component.d.ts.map