export declare const FILE_EXTENSIONS: string[]; /** * Validates that a module path is contained within the project directory. * Prevents path traversal attacks that could load arbitrary files from the host. */ export declare function validateModulePath(modulePath: string, projectDir: string): void; export declare function resolveExportEntry(entry: unknown): string | undefined; export declare function toCjsDestructureBindings(bindings: string): string; export declare function getLoaderForFile(filePath: string): "tsx" | "jsx" | "ts" | "js" | "json"; //# sourceMappingURL=loader-helpers.d.ts.map