import { ALLOWED_IMAGE_MIME_TYPES } from "@inkeep/agents-core/constants/allowed-file-formats";

//#region src/domains/run/services/blob-storage/file-security-constants.ts
const MAX_FILE_BYTES = 10 * 1024 * 1024;
const TEXT_DOCUMENT_MAX_BYTES = 256 * 1024;
const EXTERNAL_FETCH_TIMEOUT_MS = 1e4;
const MAX_EXTERNAL_REDIRECTS = 3;
const ALLOWED_EXTERNAL_IMAGE_MIME_TYPES = ALLOWED_IMAGE_MIME_TYPES;
const ALLOWED_HTTP_PORTS = new Set([
	"",
	"80",
	"443"
]);

//#endregion
export { ALLOWED_EXTERNAL_IMAGE_MIME_TYPES, ALLOWED_HTTP_PORTS, EXTERNAL_FETCH_TIMEOUT_MS, MAX_EXTERNAL_REDIRECTS, MAX_FILE_BYTES, TEXT_DOCUMENT_MAX_BYTES };