import type { IdentityRecordBy } from '../../type-utils'; import { OptionProducer, PrefabComponentOption } from '../types'; import type { PrefabComponent, PrefabReference } from '../types/component'; type RequiredAttrs = Omit; type UnresolvedAttributes = IdentityRecordBy; export declare const optionTemplateOptions: (attrs: Record) => PrefabComponentOption[]; /** * Create a partial prefab * * @returns */ export declare const partial: () => PrefabReference; /** * Create a component prefab * * @param name name of the component * @param attrs attributes * @param descendants a list of child prefab components * @returns */ export declare const component: (name: string, attrs: UnresolvedAttributes, descendants: PrefabReference[]) => PrefabComponent; export {};