import type { APIParsedOptions } from './types.js'; /** * Path to a project's built custom server file, if it has one. * * This checks `api/dist/server.js` — the built output — not * `api/src/server.{ts,js}`, which is what `@cedarjs/cli`'s own * `serverFileExists()` checks. A production install typically ships only * `api/dist`, so checking source would return false in exactly the * situation this needs to catch. */ export declare function apiDistServerFilePath(): string; export declare function apiDistServerFileExists(): boolean; /** * Run a project's custom `api/dist/server.js` instead of the default Fastify * server. * * Reimplements what `@cedarjs/cli`'s `apiServerFileHandler` does for * `cedar serve api`, rather than importing it — `@cedarjs/cli` pulls in its * whole build/dev toolchain, which is exactly what a production install of * this package needs to stay clear of. */ export declare function runApiDistServerFile(options?: APIParsedOptions): Promise; //# sourceMappingURL=serverFile.d.ts.map