@@ -417,7 +417,7 @@ export type SendMediaResult = {
417417 * Upload an image to Feishu and get an image_key for sending.
418418 * Supports: JPEG, PNG, WEBP, GIF, TIFF, BMP, ICO
419419 */
420- export async function uploadImageFeishu ( params : {
420+ async function uploadImageFeishu ( params : {
421421 cfg : ClawdbotConfig ;
422422 image : Buffer | string ; // Buffer or file path
423423 imageType ?: "message" | "avatar" ;
@@ -470,7 +470,7 @@ export function sanitizeFileNameForUpload(fileName: string): string {
470470 * Upload a file to Feishu and get a file_key for sending.
471471 * Max file size: 30MB
472472 */
473- export async function uploadFileFeishu ( params : {
473+ async function uploadFileFeishu ( params : {
474474 cfg : ClawdbotConfig ;
475475 file : Buffer | string ; // Buffer or file path
476476 fileName : string ;
@@ -514,7 +514,7 @@ export async function uploadFileFeishu(params: {
514514/**
515515 * Send an image message using an image_key
516516 */
517- export async function sendImageFeishu ( params : {
517+ async function sendImageFeishu ( params : {
518518 cfg : ClawdbotConfig ;
519519 to : string ;
520520 imageKey : string ;
@@ -568,7 +568,7 @@ export async function sendImageFeishu(params: {
568568/**
569569 * Send a file message using a file_key
570570 */
571- export async function sendFileFeishu ( params : {
571+ async function sendFileFeishu ( params : {
572572 cfg : ClawdbotConfig ;
573573 to : string ;
574574 fileKey : string ;
@@ -625,7 +625,7 @@ export async function sendFileFeishu(params: {
625625/**
626626 * Helper to detect file type from extension
627627 */
628- export function detectFileType (
628+ function detectFileType (
629629 fileName : string ,
630630) : "opus" | "mp4" | "pdf" | "doc" | "xls" | "ppt" | "stream" {
631631 const ext = normalizeLowercaseStringOrEmpty ( path . extname ( fileName ) ) ;
0 commit comments