import { type BuildOptions, type BuildResult, type Loader, type Plugin } from "esbuild"; export interface ScannedModuleImport { readonly kind: "import-statement" | "dynamic-import"; readonly path?: string; } /** Parses import syntax without evaluating or resolving author code. */ export declare function scanModuleImports(source: string, loader: Loader): Promise; export interface SecureBrowserBundleOptions { readonly entryPoint: string; readonly plugins: readonly Plugin[]; readonly minifyWhitespace?: boolean; } /** * The only author-code bundler used by Core. It produces browser-compatible * bundles for the configured evaluator, never imports into the caller context. */ export declare function buildSecureBrowserBundle(options: SecureBrowserBundleOptions): Promise>; export declare function formatBrowserBuildFailure(error: unknown): string; //# sourceMappingURL=secure-browser-bundler.d.ts.map