import { TransformerBase } from '../base'; import { Params } from '../base/estimator'; import { CSRMatrix, TextDocuments } from '../data'; export interface HashingVectorizerProps { nFeatures?: number; lowercase?: boolean; stopWords?: string[]; ngramRange?: [number, number]; binary?: boolean; norm?: 'l1' | 'l2' | null; alternateSign?: boolean; } export declare class HashingVectorizer extends TransformerBase { readonly acceptedInputKinds: readonly ["text"]; private nFeatures; private lowercase; private stopWords; private ngramRange; private binary; private norm; private alternateSign; constructor(props?: HashingVectorizerProps); getParams(): Params; private analyze; fit(documents: string[]): void; transform(documents: string[]): CSRMatrix; }