style: reorganize imports in ocr-related type files

This commit is contained in:
icarus 2025-10-20 22:07:42 +08:00
parent 790df761f0
commit b7a6ed6b24
3 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,7 @@ import type {
OcrTesseractProvider,
TesseractLangCode
} from '@types'
import type { TranslateLanguageCode } from '../../../src/renderer/src/types/translate'
export const tesseract: OcrTesseractProvider = {

View File

@ -1,5 +1,4 @@
import type { TranslateLanguageCode } from '../../translate'
import type { OcrProvider } from './base'
import { type ImageOcrProvider } from './base'
import { type BuiltinOcrProvider } from './base'

View File

@ -1,7 +1,7 @@
import { TranslateLanguageCodeSchema } from '../../translate'
import type Tesseract from 'tesseract.js'
import * as z from 'zod'
import { TranslateLanguageCodeSchema } from '../../translate'
import type { ImageOcrProvider } from './base'
import type { BuiltinOcrProvider } from './base'
import type { OcrProvider } from './base'