import { basicTokenizer, basicNormalizer, Alignment } from './utils.cjs'; /** * Run error alignment between reference and hypothesis texts. * * @param ref The reference sequence/transcript. * @param hyp The hypothesis sequence/transcript. * @param tokenizer A function to tokenize the sequence. Must be regex-based and return Match objects. * @param normalizer A function to normalize the tokens. Defaults to basicNormalizer. * @param beamSize The beam size for the beam search alignment. * @param wordLevelPass Whether to perform a word-level aligment pass to identify unambiguous matches. */ declare function errorAlign(ref: string, hyp: string, tokenizer?: typeof basicTokenizer, normalizer?: typeof basicNormalizer, beamSize?: number, wordLevelPass?: boolean): Alignment[]; export { errorAlign };