UNPKG

alinea

Version:
10 lines (9 loc) 527 B
import { type Request, Response } from '@alinea/iso'; import type { Handler } from 'alinea/backend/Handler'; import type { CMS } from 'alinea/core/CMS'; import type { User } from 'alinea/core/User'; import type { ServeContext } from './ServeContext.js'; export declare function createLocalServer({ cmd, configLocation, rootDir, staticDir, alineaDev, buildOptions, production, liveReload, buildId }: ServeContext, cms: CMS, handleApi: Handler, user: User): { close(): void; handle(input: Request): Promise<Response>; };