import { SqrlObject } from "./SqrlObject"; import SqrlUniqueId from "./SqrlUniqueId"; import { EntityId } from "../platform/EntityId"; import { Context } from "../api/ctx"; import { SqrlKey } from "./SqrlKey"; import { RenderedSpan } from "sqrl-common"; import { UniqueId } from "../api/entity"; export default class SqrlEntity extends SqrlObject { uniqueId: SqrlUniqueId; type: string; value: string; entityId: EntityId; constructor(uniqueId: SqrlUniqueId, type: string, value: string); getEntityId(): EntityId; getBasicValue(): string; getNumberString(): string; tryGetTimeMs(): number; getUniqueId(): UniqueId; render(): RenderedSpan; getData(): { type: string; value: string; uniqueId: { time: string; remaining: number; }; }; buildCounterKey(ctx: Context, ...featureValues: Array): Promise; buildCounterKeyList(ctx: Context, ...featureValues: Array): Promise; }