//#region src/lib/function-entries.d.ts /** * Search order for a directory `source` under esbuild. Shared by apply and * `neon function deploy --src`. `.mjs` is last so it never implies skip-esbuild. */ declare const FUNCTION_SOURCE_ENTRIES: readonly ["index.ts", "index.js", "index.mjs"]; type FunctionSourceEntry = (typeof FUNCTION_SOURCE_ENTRIES)[number]; /** Filenames the Functions runtime imports from the archive root. */ declare const FUNCTION_ARCHIVE_ENTRIES: readonly ["index.mjs", "index.js"]; type FunctionArchiveEntry = (typeof FUNCTION_ARCHIVE_ENTRIES)[number]; /** `existing` is names the caller counted as files, so a directory named `index.ts` cannot win. */ declare const pickFunctionSourceEntry: (existing: Iterable) => FunctionSourceEntry | undefined; declare const isFunctionArchiveEntry: (name: string) => name is FunctionArchiveEntry; //#endregion export { FUNCTION_ARCHIVE_ENTRIES, FUNCTION_SOURCE_ENTRIES, FunctionArchiveEntry, FunctionSourceEntry, isFunctionArchiveEntry, pickFunctionSourceEntry }; //# sourceMappingURL=function-entries.d.ts.map