import NodeId from './NodeId.ts';
import NodeTypeId from './NodeTypeId.ts';
export type NodeRecordFields = {
    readonly id: NodeId;
    readonly typeId: NodeTypeId;
};
/** Runtime-backed graph substrate node record. */
export default class NodeRecord {
    readonly id: NodeId;
    readonly typeId: NodeTypeId;
    constructor(fields: NodeRecordFields);
    /** Builds a transitional node record from a legacy string node id. */
    static fromLegacyNodeId(nodeId: string): NodeRecord;
    /** Compares node records by graph identity and type. */
    equals(other: NodeRecord): boolean;
}
