@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
21 lines • 981 B
TypeScript
import { ContentType } from '../../../types.ts';
export declare const READ_FILE_MIME: Readonly<{
readonly BINARY: "application/octet-stream";
readonly CSV: "text/csv";
readonly HTML: "text/html";
readonly IMAGE_GIF: "image/gif";
readonly IMAGE_JPEG: "image/jpeg";
readonly IMAGE_PNG: "image/png";
readonly IMAGE_WEBP: "image/webp";
readonly JSON: "application/json";
readonly MARKDOWN: "text/markdown";
readonly PDF: "application/pdf";
readonly PLAIN_TEXT: "text/plain";
readonly SVG: "image/svg+xml";
}>;
export type ReadFileMime = (typeof READ_FILE_MIME)[keyof typeof READ_FILE_MIME];
export declare const TEXT_FILE_EXTENSIONS: ReadonlySet<string>;
export declare const MIME_FOR_EXTENSION: Readonly<Record<string, ReadFileMime>>;
export declare const MIME_FOR_FILE_TYPE: Readonly<Partial<Record<ContentType, ReadFileMime>>>;
export declare const MODEL_IMAGE_MIMES: ReadonlySet<ReadFileMime>;
//# sourceMappingURL=constants.d.ts.map