import { type DashboardWorkflowAttention } from './workflow-attention.js'; import type { ChangeDashboardItem, DashboardChangePage, DashboardChangeTab, DashboardOverview, DashboardSnapshot } from './types.js'; /** * Build a full dashboard snapshot for the project rooted at `projectPath`. * * Read-only: any missing file or directory is treated as the corresponding * empty state. Errors from individual changes do not abort the whole sweep. */ export declare function collectDashboardSnapshot(projectPath: string, options?: { now?: Date; projectName?: string; }): Promise; export interface DashboardChangePageOptions { status: DashboardChangeTab; limit?: number; cursor?: string; query?: string; } export interface DashboardOverviewOptions { now?: Date; projectName?: string; query?: string; workflow?: 'native' | 'classic'; } export declare class DashboardChangeQueryError extends Error { constructor(message: string); } /** * Collect only the metadata needed by the paginated change explorer. Full * artifact previews stay behind `collectDashboardChangeDetail` so a large * project does not make the initial Dashboard request proportional to every * Markdown file in the repository. */ export declare function collectDashboardChangePage(projectPath: string, options: DashboardChangePageOptions): Promise; /** 统计与筛选一次读取完整活跃摘要,避免每页重复校验全部文件。 */ export declare function collectDashboardChangeSummary(projectPath: string, options?: { status?: DashboardChangeTab; query?: string; limit?: number; }): Promise; export declare function collectDashboardWorkflowAttention(projectPath: string): Promise; /** Build the lightweight initial page and project summary in one collector pass. */ export declare function collectDashboardOverview(projectPath: string, options?: DashboardOverviewOptions): Promise; /** Load one full Classic change after the user selects it in the explorer. */ export declare function collectDashboardChangeDetail(projectPath: string, locatorOrId: string): Promise; //# sourceMappingURL=collector.d.ts.map