import type { ProjectManifest, routerConventions } from '.'; import type { Config } from '../config'; export type Adapter = ((args: { config: Config; conventions: typeof routerConventions; sourceDir: string; publicBase: string; outDir: string; manifest: ProjectManifest; adapterPath: string; }) => void | Promise) & { includePaths?: Record | ((args: { config: Config; }) => Record); disableServer?: boolean; pre?: (args: { config: Config; conventions: typeof routerConventions; sourceDir: string; publicBase: string; outDir: string; }) => Promise | void; };