import { BuildOptions, PluginBuild } from 'esbuild'; export interface AdditionalFunctionConfig { handlerPath: string; handlerName?: string; urlPath: string; cors?: boolean; method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'ANY'; } export declare const inputPathFor: (userSuppliedPath: string) => string; export declare const devOutputPathFor: (userSuppliedPath: string) => string; export declare const buildOutputPathFor: (userSuppliedPath: string) => string; /** Default backend entry path (source). */ export declare const defaultBackendEntryPath: string; /** * Detects serverless mode from the backend entry file. * Returns 'lambda' | 'azure' | 'standalone'. */ export declare const getBackendEntryMode: () => Promise<'lambda' | 'azure' | 'standalone'>; export declare const baseEsbuildConfig: BuildOptions; export declare const getExternalModules: () => string[]; export declare const makeAllPackagesExternalPlugin: () => { name: string; setup(build: PluginBuild): void; }; export declare const checkPackageForNativeModules: () => { name: string; setup(build: PluginBuild): void; }; export declare const addStartFunctionIfNeeded: () => { name: string; setup(build: PluginBuild): void; }; export declare const requireSilent: (module: string) => any; export declare const checkTypescriptTypes: () => Promise;