/** * Projects Command Types * * Type definitions for the projects list command. */ /** * Projects command options from Commander */ export interface ProjectsOptions { /** Output as JSON */ json?: boolean; /** Output as TOON format */ toon?: boolean; /** Limit number of results */ limit?: string; } /** * Project summary for list display */ export interface Project { /** Project ID */ id: string; /** Project name */ name: string; /** Number of specifications in project */ specCount: number; /** Last update timestamp */ updatedAt: string; /** Project description (optional) */ description?: string; } /** * API response for list_projects */ export interface ListProjectsApiResponse { /** Array of projects */ projects: Project[]; /** Total count (for pagination) */ total?: number; } /** * Projects list response for output */ export interface ProjectsListResponse { /** Array of projects */ projects: Project[]; /** Current project ID (for marking) */ currentProjectId?: string; } /** * Table column configuration */ export interface ProjectTableColumn { /** Column header */ header: string; /** Column width */ width?: number; /** Alignment */ align?: 'left' | 'right' | 'center'; } /** * Default table columns for projects */ export declare const PROJECT_TABLE_COLUMNS: ProjectTableColumn[]; /** * Current project marker */ export declare const CURRENT_MARKER = "\u25B6 "; /** * ID truncation length */ export declare const ID_DISPLAY_LENGTH = 8; /** * Format a project ID for display (truncated) */ export declare function formatProjectId(id: string): string; /** * Check if a project is the current project */ export declare function isCurrentProject(project: Project, currentId?: string): boolean; //# sourceMappingURL=projects.types.d.ts.map