/** * tibetclaw/provenance — TIBET Provenance Chain * * Every action generates a cryptographic TIBET token with four semantic dimensions: * * ERIN — What's in it (the action/content) * ERAAN — What's attached (dependencies, references) * EROMHEEN — What's around it (context, environment) * ERACHTER — What's behind it (intent — WHY this action) * * Tokens are chained: each token references its parent's hash. * Break the chain = detected. Tamper with a token = detected. * * Standards: * IETF draft-vandemeent-tibet-provenance-00 */ export interface TIBETToken { tokenId: string; parentId: string | null; agentId: string; timestamp: number; erin: unknown; eraan: string[]; eromheen: Record; erachter: string; tokenHash: string; chainIndex: number; } export declare class ProvenanceChain { private tokens; private genesisHash; constructor(); /** * Record an action in the provenance chain. */ record(params: { agentId: string; erin: unknown; eraan?: string[]; eromheen?: Record; erachter?: string; }): TIBETToken; /** * Verify the entire chain is intact. */ verify(): boolean; /** All tokens in the chain. */ getTokens(): TIBETToken[]; /** Number of tokens. */ get length(): number; /** Most recent token. */ get lastToken(): TIBETToken | null; /** Get tokens for a specific agent. */ agentTokens(agentId: string): TIBETToken[]; /** Export chain as JSON. */ export(): string; private computeHash; } //# sourceMappingURL=provenance.d.ts.map