import { TransformerBase } from '../base'; import { Params } from '../base/estimator'; import { CSRMatrix, TextDocuments } from '../data'; export interface CountVectorizerProps { lowercase?: boolean; stopWords?: string[]; ngramRange?: [number, number]; minDf?: number; maxDf?: number; maxFeatures?: number; binary?: boolean; vocabulary?: Record | Map; } export declare class CountVectorizer extends TransformerBase { readonly acceptedInputKinds: readonly ["text"]; private lowercase; private stopWords; private ngramRange; private minDf; private maxDf; private maxFeatures?; private binary; private fixedVocabulary?; private vocabularyState; constructor(props?: CountVectorizerProps); getParams(): Params; private analyze; fit(documents: string[]): void; transform(documents: string[]): CSRMatrix; get vocabulary(): ReadonlyMap; getFeatureNamesOut(): string[]; }