import { type FeatureFlags } from '../../core/feature_flags.js'; export declare const SERVER_DIRECTORY = "netlify/server"; export declare const useServerAsFunction: (featureFlags?: FeatureFlags) => boolean; export declare const useServerStandalone: (featureFlags?: FeatureFlags) => boolean; export interface ServerEntry { entryPath: string; packageRoot: string; relativeEntryPath: string; } export declare const getServerEntry: ({ buildDir, packagePath, }: { buildDir: string; packagePath?: string; }) => Promise; /** * Writes the file a server is bundled from when it travels as a function, and * returns its path. */ export declare const writeServerShim: ({ entryPath, packageRoot }: ServerEntry) => Promise;