import { ParserOptions as BabelParserOptions } from '@babel/parser'; import type { BindMode } from './components/bindable/BindMode.js'; import { SiteBasePath } from './render/HeadData.js'; type AppLocation = string | [string, string]; type RoutesLocation = [string, string]; type EnvSchemasLocation = string; export type ServerMiddlewareInfo = [file: string, exportName: string, path: string]; export type FrameworkConfigBase = { codeDir?: string; copy?: string; exclude?: string; copyExclude?: string; sourceDir?: string; publicDir?: string; assetsDir?: string; styleImportBase?: string; siteBasePath?: SiteBasePath; clientSideNav?: boolean; staticSite?: boolean; routesLocation?: RoutesLocation; envSchemasLocation?: EnvSchemasLocation; babelOptions?: BabelParserOptions; packageSystem?: 'rewrites' | 'aliases'; ignoreDirs?: string[]; ignorePatterns?: string | string[]; serverMiddleware?: ServerMiddlewareInfo; apiRoutes?: string; apiPath?: string; suppressNoHeadWarning?: boolean; suppressOriginMismatchWarning?: boolean; }; export type FrameworkConfigWithRootComponent = FrameworkConfigBase & { useRootComponent?: true; rootComponent: string; }; export type FrameworkConfigWithoutRootComponent = FrameworkConfigBase & { useRootComponent: false; }; export type FrameworkConfig = FrameworkConfigWithRootComponent | FrameworkConfigWithoutRootComponent; export type FrameworkConfigCompleteBase = { codeDir: string; exclude?: string; copy?: string; copyExclude?: string; sourceDir?: string; publicDir?: string; assetsDir?: string; styleImportBase?: string; siteBasePath: SiteBasePath; clientSideNav: boolean; staticSite: boolean; uniqueComponents: boolean; bindMode: BindMode; appLocation: AppLocation; routesLocation: RoutesLocation; envSchemasLocation: EnvSchemasLocation; babelOptions?: BabelParserOptions; packageSystem: 'rewrites' | 'aliases'; ignoreDirs?: string[]; ignorePatterns?: string | string[]; serverMiddleware?: ServerMiddlewareInfo; apiRoutes?: string; apiPath: string; suppressNoHeadWarning: boolean; suppressOriginMismatchWarning: boolean; }; export type FrameworkConfigCompleteWithRootComponent = FrameworkConfigCompleteBase & { useRootComponent: true; rootComponent: string; }; export type FrameworkConfigCompleteWithoutRootComponent = FrameworkConfigCompleteBase & { useRootComponent: false; }; export type FrameworkConfigComplete = FrameworkConfigCompleteWithRootComponent | FrameworkConfigCompleteWithoutRootComponent; export {}; //# sourceMappingURL=FrameworkConfig.d.ts.map