import { Dispatch, MutableRefObject, SetStateAction } from 'react';
import type { CodeErrorBehavior } from '../CodeInput.types';
type ValidateSymbolsArgs = {
    codeLength: number;
    codeErrorBehavior: CodeErrorBehavior;
    currentCode: Array<string>;
    inputContainerRef: MutableRefObject<HTMLDivElement | null>;
    inputRefs: MutableRefObject<Array<HTMLInputElement | null>>;
    captionRef: MutableRefObject<HTMLDivElement | null>;
    setCode: Dispatch<SetStateAction<Array<string>>>;
    codeSetter: (newCode: Array<string>) => void;
};
export declare const handleCodeError: ({ codeLength, codeErrorBehavior, currentCode, inputRefs, inputContainerRef, captionRef, setCode, codeSetter, }: ValidateSymbolsArgs) => void;
export {};
//# sourceMappingURL=handleCodeError.d.ts.map