/** * Base class for per-state IE validation rules. * * Each Brazilian state has its own IE format and check-digit algorithm. * Subclasses implement {@link execute} with the state-specific logic. * * @internal */ export declare abstract class AbstractStateRule { abstract execute(ie: string): boolean; protected digits(v: string, pattern?: RegExp): string; protected toIntArray(digits: string): number[]; protected allSameDigits(digits: string): boolean; protected sumProducts(digits: number[], weights: number[]): number; }