/** * Helper function to redact sensitive data from specified attributes * @param data - The object containing data to redact * @param attributesToRedact - Single attribute name or array of attribute names to redact * @returns A new object with specified attributes redacted */ declare function redactData(data: any, attributesToRedact: string | string[]): any; /** * Recursively redacts a value based on its type * @param value - The value to redact * @returns The redacted value */ declare function redactValue(value: any): any; /** * Constructs a scope string from scopeType and scopeValue * @param scopeType - The type of scope (chatapp, agent, tool, entity, agent-entity) * @param scopeValue - The value(s) for the scope * @returns The constructed scope string */ declare function constructScope(scopeType: string, scopeValue: string | number | Record): string; /** * Parses a scope string back into scopeType and scopeValue * @param scope - The scope string to parse * @returns Object containing scopeType and scopeValue */ declare function parseScope(scope: string): { scopeType: string; scopeValue: string | number | Record; }; /** * Useful for simple hashing like to figure out if content has changed since last sent or something. */ declare function getContentHashString(content: unknown): Promise; export { constructScope, getContentHashString, parseScope, redactData, redactValue };