import type pino from "pino";
export type SherpaOnlineRecognizerModel = {
    kind: "transducer";
    encoder: string;
    decoder: string;
    joiner: string;
    tokens: string;
    modelType?: string;
} | {
    kind: "paraformer";
    encoder: string;
    decoder: string;
    tokens: string;
};
export type SherpaOnlineRecognizerConfig = {
    model: SherpaOnlineRecognizerModel;
    numThreads?: number;
    provider?: "cpu";
    debug?: 0 | 1;
    sampleRate?: number;
    featureDim?: number;
    decodingMethod?: "greedy_search";
    maxActivePaths?: number;
    enableEndpoint?: 0 | 1;
    rule1MinTrailingSilence?: number;
    rule2MinTrailingSilence?: number;
    rule3MinUtteranceLength?: number;
};
export declare class SherpaOnlineRecognizerEngine {
    readonly recognizer: any;
    readonly sampleRate: number;
    private readonly logger;
    constructor(config: SherpaOnlineRecognizerConfig, logger: pino.Logger);
    createStream(): any;
    free(): void;
}
//# sourceMappingURL=sherpa-online-recognizer.d.ts.map