types: fix circular import

closes #1746
This commit is contained in:
Rajeh Taher
2025-09-07 14:47:19 +03:00
parent 538d3e4da7
commit 076daae89d
4 changed files with 13 additions and 7 deletions
+8 -2
View File
@@ -4,12 +4,18 @@ import { randomBytes } from 'crypto'
import { promises as fs } from 'fs'
import { type Transform } from 'stream'
import { proto } from '../../WAProto/index.js'
import { CALL_AUDIO_PREFIX, CALL_VIDEO_PREFIX, MEDIA_KEYS, URL_REGEX, WA_DEFAULT_EPHEMERAL } from '../Defaults'
import {
CALL_AUDIO_PREFIX,
CALL_VIDEO_PREFIX,
MEDIA_KEYS,
type MediaType,
URL_REGEX,
WA_DEFAULT_EPHEMERAL
} from '../Defaults'
import type {
AnyMediaMessageContent,
AnyMessageContent,
DownloadableMessage,
MediaType,
MessageContentGenerationOptions,
MessageGenerationOptions,
MessageGenerationOptionsFromContent,