/**
 * Light entity extraction — regex-based pattern matching + TF-IDF keyword extraction.
 */
export interface ExtractedEntity {
    type: 'email' | 'url' | 'date' | 'phone' | 'mention';
    value: string;
    position: number;
    context: string;
}
export interface KeywordScore {
    term: string;
    tfidf: number;
    tf: number;
    idf: number;
}
export interface EntityExtractionResult {
    entities: ExtractedEntity[];
    keywords: KeywordScore[];
}
/** Extract entities (emails, URLs, dates, phone numbers, @mentions) from text */
export declare function extractEntities(text: string): ExtractedEntity[];
/** Extract keywords using TF-IDF across a batch of documents */
export declare function extractKeywords(texts: string[], topK?: number): KeywordScore[][];
/** Single-document keyword extraction (IDF is 1 for all terms, falls back to TF) */
export declare function extractKeywordsSingle(text: string, topK?: number): KeywordScore[];
/** Full entity extraction: entities + keywords for a single document */
export declare function extractDocumentEntities(text: string, topK?: number): EntityExtractionResult;
