UNPKG

@mastra/core

Version:
11 lines • 710 B
/** cyrb53: fast, deterministic, runtime-agnostic 53-bit string hash. */ export declare function hashIdentityValue(value: string): string; /** * Collect `field:hash` identity entries from provider metadata/options objects. * The namespace is deliberately omitted so the same identity mirrored under several * namespaces (e.g. `azure.itemId` and `openai.itemId`) yields one entry. * Output is sorted and de-duplicated so it is independent of key order and source order. */ export declare function getReasoningIdentityKeys(...sources: unknown[]): string[]; export declare function appendReasoningIdentityKeys(cacheKey: string, ...sources: unknown[]): string; //# sourceMappingURL=reasoning-identity.d.ts.map