export { toInt } from '@snowluma/protocol/oidb-services/shared'; // The bot's-own-UID resolver is the single source of truth in @snowluma/protocol // (a Bridge satisfies its BridgeContext slice). Re-exported here so the existing // `resolveSelfUid(bridge)` call sites in this package keep importing from shared. export { resolveSelfUid } from '@snowluma/protocol/self-uid'; /** * Index describing a server-side rich-media object (image / video / * voice). Returned by message parsers, consumed by the media-URL * fetchers in group-file.ts. */ export interface MediaIndexNode { info?: { fileSize?: number; fileHash?: string; fileSha1?: string; fileName?: string; width?: number; height?: number; time?: number; original?: number; type?: { type?: number; picFormat?: number; videoFormat?: number; voiceFormat?: number; }; }; fileUuid?: string; storeId?: number; uploadTime?: number; ttl?: number; subType?: number; }