import type { ResolvedConversation } from "../core/config-types.ts";
import type { AttachmentInput } from "../core/runtime-types.ts";
export declare function storeDownloadedAttachment(conversation: ResolvedConversation, messageId: string, index: number, fileName: string, data: Uint8Array, mimeType?: string, remoteUrl?: string): Promise<AttachmentInput>;
export declare function guessAttachmentKind(fileName: string, mimeType?: string): "image" | "file" | "audio" | "video";
export declare function guessMimeType(fileName: string): string | undefined;
export declare function readLocalAttachment(path: string): Promise<{
    name: string;
    data: Uint8Array;
    mimeType?: string;
}>;
export declare function fetchBinary(url: string, headers?: Record<string, string>): Promise<Uint8Array>;
export declare function textMentionsBot(text: string, botName?: string, botUserId?: string): boolean;
//# sourceMappingURL=common.d.ts.map