import { FunctionBundle, ResolvedFunctionConfig } from "@neon/config"; //#region src/lib/function-source.d.ts type UnbundledVia = "none" | "no-bundle"; /** A file is the entry. A directory is searched in {@link FUNCTION_SOURCE_ENTRIES} order; only real files count. */ declare function resolveEsbuildEntry(source: string): Promise; /** * `"none"` / `--no-bundle`: zip `source` without esbuild. The archive root (or * the file's basename) must be `index.mjs` or `index.js`. TypeScript cannot ship unbundled. */ declare function bundleAsIs(fn: ResolvedFunctionConfig, options?: { via?: UnbundledVia; }): Promise; //#endregion export { UnbundledVia, bundleAsIs, resolveEsbuildEntry }; //# sourceMappingURL=function-source.d.ts.map