/** * Issue Tracker - Persistent bug/feature tracking with CSV storage */ export type IssueType = 'bug' | 'feature'; export type IssueStatus = 'pending' | 'acknowledged' | 'in_progress' | 'fixed' | 'implemented'; export interface TrackedIssue { id: number; type: IssueType; status: IssueStatus; description: string; sequenceFile: string; startUrl: string; reportedAt: Date; acknowledgedAt?: Date; startedAt?: Date; resolvedAt?: Date; recordingName: string; } export interface IssueFilter { type?: IssueType; status?: IssueStatus; includeCompleted?: boolean; } /** * Initialize the issue tracker - ensures directories exist * No longer loads issues into memory; they're read on demand */ export declare function initializeTracker(_includeCompleted?: boolean): Promise; /** * Add a new issue - appends to CSV without rewriting existing data */ export declare function addIssue(type: IssueType, description: string, sequenceFile: string, recordingName: string, initialStatus?: IssueStatus, startUrl?: string): Promise; /** * Get a single issue by ID - reads directly from CSV */ export declare function getIssue(id: number): Promise; /** * Get all issues, optionally filtered - reads directly from CSV */ export declare function getIssues(filter?: IssueFilter): Promise; /** * Update issue status with appropriate timestamp - modifies only the specific line */ export declare function updateIssueStatus(id: number, status: IssueStatus): Promise; /** * Update the sequence file for an issue - modifies only the specific line */ export declare function updateIssueSequenceFile(id: number, sequenceFile: string): Promise; /** * Save a sequence file to the issues folder and link it to an issue */ export declare function saveIssueSequence(issueId: number, issueType: 'bug' | 'feature', issueDescription: string, sequenceData: Record, comment?: string): Promise<{ success: boolean; filename?: string; error?: string; }>; /** * Acknowledge all pending bugs (sets status to 'acknowledged') */ export declare function acknowledgeAllBugs(): Promise; /** * Check if there are pending bugs that should block tools */ export declare function hasPendingBugs(): Promise; /** * Get pending bugs for blocking message */ export declare function getPendingBugs(): Promise; /** * Get the sequences directory path for issues */ export declare function getIssueSequencesDir(): string; export declare const getInteractionSequencesDir: typeof getIssueSequencesDir; /** * Generate a sequence filename for an issue */ export declare function generateSequenceFilename(type: IssueType, id: number, description: string): string; //# sourceMappingURL=issue-tracker.d.ts.map