import { Transactable } from '@pgkit/client'; import express from 'express'; /** * Creates a router, which can be used as a middleware to: * 1. Serve static files from the client directory - the frontend. * 2. Serve the API, which the frontend will talk to. * * If you need to add more functionality, such as auth, or CORS, create your own express application * and add the router before (or after) your middleware. */ export declare const getExpressRouter: (client?: Transactable | string) => express.RequestHandler; export { appRouter, type AppRouter } from './router.js'; export { apiMiddleware } from './middleware.js'; export declare const clientMiddleware: express.RequestHandler; export * from './context.js';