import type { PathBase, PathScurry } from 'path-scurry'; import type { PackageJson } from '@vltpkg/package-json'; import type { NormalizedManifest } from '@vltpkg/types'; import type { ProjectTools } from './project-tools.ts'; export type DashboardProjectData = { name: string; readablePath: string; path: string; manifest: NormalizedManifest; tools: ProjectTools[]; mtime?: number; }; export type DashboardOptions = { 'dashboard-root': string[]; scurry: PathScurry; packageJson: PackageJson; publicDir: string; }; export type DashboardLocation = { path: string; readablePath: string; }; export type DashboardData = { cwd: string; dashboardProjectLocations: DashboardLocation[]; defaultAuthor: string; projects: DashboardProjectData[]; }; /** * Class to handle updating and formatting dashboard data */ export declare class Dashboard { packageJson: PackageJson; dashboardRoot: string[]; scurry: PathScurry; publicDir: string; constructor(options: DashboardOptions); update(): Promise; format(projectFolders: PathBase[]): Promise; getProjectData(folder: PathBase): DashboardProjectData | undefined; } //# sourceMappingURL=dashboard.d.ts.map