import { Readable } from 'node:stream';
import type { Config } from '@xopcai/xopc/config/schema.js';
export type LoadedMedia = {
    buffer: Buffer;
    mimeType: string;
    filename: string;
    stream: Readable;
};
export declare function loadMediaForFeishu(cfg: Config, rawInput: string, opts: {
    maxBytes: number;
    localRoots?: readonly string[];
}): Promise<LoadedMedia>;
