import { type BunDevServerConfig } from "./bunServeConfig"; /** * Handle HTTP error responses * @param req - The Request object * @param err - The error that occurred * @returns A Response with status 500 */ export declare function handleErrorResponse(req: Request, err: unknown): Response; /** * Handle a path request to the server * @param requestPath - The request path * @param req - The Request object * @param finalConfig - The final server configuration * @param destinationPath - The absolute path to the output directory * @returns A Response object */ export declare function handlePathRequest(requestPath: string, req: Request, finalConfig: BunDevServerConfig, destinationPath: string): Promise;