Parameters
- matchResults: MangaMatchResult[]
- setMatchResults: Dispatch<SetStateAction<MangaMatchResult[]>>
- searchTargetRef: { current: undefined | KenmeiManga }
- setSearchTarget: Dispatch<SetStateAction<undefined | KenmeiManga>>
- setIsSearchOpen: Dispatch<SetStateAction<boolean>>
- setBypassCache: Dispatch<SetStateAction<boolean>>
OptionalundoRedoManager: UndoRedoManager
Returns {
    handleManualSearch: (manga: KenmeiManga) => void;
    handleAcceptMatch: (
        match:
            | MangaMatchResult
            | { isBatchOperation: boolean; matches: MangaMatchResult[] },
        onProgress?: (current: number, total: number) => void,
        abortSignal?: AbortSignal,
    ) => Promise<void>;
    handleRejectMatch: (
        match:
            | MangaMatchResult
            | { isBatchOperation: boolean; matches: MangaMatchResult[] },
        onProgress?: (current: number, total: number) => void,
        abortSignal?: AbortSignal,
    ) => Promise<void>;
    handleSelectAlternative: (
        match: MangaMatchResult,
        alternativeIndex: number,
        autoAccept?: boolean,
        directAccept?: boolean,
    ) => void;
    handleResetToPending: (
        match:
            | MangaMatchResult
            | { isBatchOperation: boolean; matches: MangaMatchResult[] },
        onProgress?: (current: number, total: number) => void,
        abortSignal?: AbortSignal,
    ) => Promise<void>;
    handleSelectSearchMatch: (manga: AniListManga) => void;
    createBatchOperation: (
        matches: MangaMatchResult[],
    ) => { isBatchOperation: true; matches: MangaMatchResult[] };
    setSearchTargetExternal: (manga: undefined | KenmeiManga) => void;
}
Object with handler functions for accepting/rejecting matches, manual search, alternative selection, and reset operations.
Provides handler functions for managing manga match results and user interactions during the matching workflow.
Source