import { FieldSectionData, FieldSectionType } from '../../models/dateSection'; interface CharacterQuery { value: string; sectionIndex: number; sectionType: FieldSectionType; lastUpdate: number; } interface UseCharacterEditingProps { activeSection: number | null; sections: FieldSectionData[]; characterQuery: CharacterQuery | null; setCharacterQuery: (query: CharacterQuery | null) => void; updateSectionValue: (sectionIndex: number, value: string, moveToNextSection: boolean) => void; } /** * Return type for the useCharacterEditing hook */ export interface UseCharacterEditingReturnValue { handleSectionPaste: (section: FieldSectionData, text: string, shouldGoToNextSection?: boolean) => { newValue: string | null; shouldGoToNextSection: boolean; }; processCharacterInput: (keyPressed: string) => boolean; } /** * Enhanced hook for character editing, inspired by MUI's useFieldCharacterEditing * but adapted for our implementation and V6 DOM structure */ export declare function useCharacterEditing({ activeSection, sections, characterQuery, setCharacterQuery, updateSectionValue, }: UseCharacterEditingProps): UseCharacterEditingReturnValue; export {};