first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
// WARN: Internal re-export, don't rely on this to be a public API or use it outside of `expo/expo`'s monorepo
// NOTE for Expo Maintainers: Do not add to this file. We want to remove this
import type { HashedAssetData } from '@expo/metro-config/build/transform-worker/getAssets';
import type { BundleOptions } from '@expo/metro/metro/shared/types.flow';
import type Server from '@expo/metro/metro/Server';
export const drawableFileTypes: Set<string>;
export function createMetroServerAndBundleRequestAsync(
projectRoot: string,
options: {
maxWorkers?: number;
config?: string;
platform: string;
sourcemapOutput?: string;
sourcemapUseAbsolutePath: boolean;
entryFile: string;
minify?: boolean;
dev: boolean;
resetCache: boolean;
unstableTransformProfile?: string;
}
): Promise<{ server: Server; bundleRequest: BundleOptions }>;
export function exportEmbedAssetsAsync(
server: Server,
bundleRequest: BundleOptions,
projectRoot: string,
options: { platform: string },
): Promise<HashedAssetData[]>;