import type { UserSocial } from '../interfaces/database.interface.js'; /** * Infers a canonical social label from a URL or handle string. * * @param value - A URL or plain handle string. * @returns One of `'linkedin' | 'twitter' | 'github' | 'telegram' | 'custom'`. */ export declare function detectSocialLabel(value: string): string; /** Flat enrichment request shape produced from a UserSocial array. */ export interface EnrichmentRequest { linkedin?: string; twitter?: string; github?: string; telegram?: string; websites?: string[]; } /** * Converts a `UserSocial[]` array into the flat shape expected by enrichment tools. * Custom-labelled entries are collected into `websites[]`. * * @param socials - Row array from `user_socials`. * @returns Flat enrichment request object (omits keys that have no value). */ export declare function socialsToEnrichmentRequest(socials: UserSocial[]): EnrichmentRequest;