import { Dispatch, MutableRefObject, SetStateAction } from 'react';
import type { ItemErrorBehavior } from '../CodeField.types';
type ValidateSymbolsArgs = {
    currentSymbol: string;
    itemErrorBehavior: ItemErrorBehavior;
    index: number;
    newCode: Array<string>;
    inputRefs: MutableRefObject<Array<HTMLInputElement | null>>;
    setInnerValue: Dispatch<SetStateAction<Array<string>>>;
    codeSetter: (newCode: Array<string>) => void;
    onChange?: (value: string) => void;
};
export declare const handleItemError: ({ currentSymbol, itemErrorBehavior, index, newCode, inputRefs, setInnerValue, codeSetter, onChange, }: ValidateSymbolsArgs) => void;
export {};
//# sourceMappingURL=handleItemError.d.ts.map