export interface IMatch {
    confidence: number;
    name: string;
    lang: string;
}
export declare class Match implements IMatch {
    confidence: number;
    name: string;
    lang: string;
    constructor(det: any, rec: any, confidence: number, name?: string, lang?: string);
}
export declare type Context = {
    fByteStats: number[];
    fC1Bytes: boolean;
    fRawInput: Uint8Array;
    fRawLength: number;
    fInputBytes: Uint8Array;
    fInputLen: number;
};
export interface Recognizer {
    name: (context?: Context) => string;
    language?: () => string;
    match: (context: Context) => IMatch;
}
export declare type Options = {
    allMatches: boolean;
};
