Preparing search index...

    Interface UseRecipeOCRReturn

    Return value of the useRecipeOCR hook.

    The shared RecipeFormScreen owns the modal mount and the screen-local image gallery, so the OCR hook only exposes the extraction trigger and a loading flag. Modal open/close and gallery appends are handled by the body (the slot only forwards onSelectOcrField).

    interface UseRecipeOCRReturn {
        isProcessingOcrExtraction: boolean;
        fillOneField: (
            uri: string,
            field: OcrModalTarget,
        ) => Promise<OcrFillResult>;
    }
    Index
    isProcessingOcrExtraction: boolean

    Whether OCR extraction is currently in progress

    fillOneField: (uri: string, field: OcrModalTarget) => Promise<OcrFillResult>

    Extracts data from an image for a specific recipe field, updates recipe state, and resolves with a non-blocking feedback status the caller can surface as a snackbar, plus an undo handle when a filled field was replaced.