import { OldJsxChildren } from './oldTypes'; /** * Calculates a unique hash for a given string using SHA-256. * * @param {string} string - The string to be hashed. * @returns {string} The resulting hash as a hexadecimal string. */ export declare function oldHashString(string: string): string; /** * Calculates a unique ID for the given children objects by hashing their sanitized JSON string representation. * * @param {any} childrenAsObjects - The children objects to be hashed. * @param {string} context - The context for the children. * @param {string} id - The ID for the JSX children object. * @param {function} hashFunction - Custom hash function. * @returns {string} - The unique hash of the children. */ export declare function oldHashJsxChildren({ source, context, id, dataFormat, }: { source: OldJsxChildren; context?: string; id?: string; dataFormat: string; }, hashFunction?: (string: string) => string): string;