/**
 * Corrects `block` (data codewords then `ecCount` check codewords) in place.
 * Returns the number of codewords corrected, or -1 when the block has more
 * errors than the code can correct.
 */
export declare function correct(block: Uint8Array, ecCount: number): number;
