/** * 文件发送器工具函数 * * 从 file-sender.ts 提取。 */ import { type FeishuFileType } from './file-sender-types.js'; /** * 路径安全校验。 * 注意:resolvedPath 必须已经经过 path.resolve() 处理(绝对路径)。 */ export declare function validateFilePath(resolvedPath: string): { safe: boolean; reason?: string; }; /** 判断是否为图片类型 */ export declare function isImageExtension(ext: string): boolean; /** 获取飞书文件类型 */ export declare function getFeishuFileType(ext: string): FeishuFileType; //# sourceMappingURL=file-sender-utils.d.ts.map