import ComponentBase from "../component-base/index.js"; export default class NamedComponent & { name?: never; }> extends ComponentBase & { name?: string; }> { private indexName; constructor({ indexName, defaultProperties, }: { indexName?: string; defaultProperties?: Partial & { name?: string; }>; }); /** * Sets the name of the component * @ignore */ name(n: string): this; /** * Gets the name of the top level index this entity belongs to * @ignore */ getIndexName(): string; }