/** Where a project's `@/` alias points, and how we worked that out. */ export interface ProjectPaths { /** * The directory `@/` resolves to, relative to the project root, with `/` * separators and no trailing slash. `''` means the project root itself. */ aliasRoot: string; source: 'tsconfig.json' | 'jsconfig.json' | 'components.json' | 'default'; } /** * Throws unless `projectPath` is somewhere components can actually be written, * and reports where under it they go. * * `baseDirOverride` comes from `components.json`; it wins outright, for the * projects whose alias lives in an extended base config or whose tsconfig we * otherwise read wrong. */ export declare function assertUsableProject(projectPath: string, baseDirOverride?: string): Promise;