/** * Generate content-based unique key for a dataset item * * This function creates a deterministic hash by combining: * - The request's uniqueKey from Crawlee (ensures items from same request can be distinguished) * - The dataset item content (full or selected fields) * * Formula: * - With uniqueKeySelector: hash(requestUniqueKey + sorted(selectedFields)) * - Without uniqueKeySelector: hash(requestUniqueKey + sorted(datasetItem)) * * @param datasetItem - The scraped data item * @param requestUniqueKey - The request's unique key from Crawlee * @param uniqueKeySelector - Optional array of field names to use for unique key generation * @returns A SHA-256 hash combining request and content */ export declare function generateUniqueKey(datasetItem: any, requestUniqueKey: string, uniqueKeySelector?: string[]): string; //# sourceMappingURL=unique-key.d.ts.map