export interface DevEvent { id: string; source: string; title: string; actor: string; repo: string | null; refUrl: string | null; status: string | null; sha: string | null; occurredAt: number; createdAt: number; rawPayload?: { author?: { avatar_url?: string; login?: string; }; commit?: { message?: string; }; stats?: { additions: number; deletions: number; total?: number; }; files?: Array<{ filename: string; }>; }; } export interface DevNote { id: string; type: string; source: string; title: string; description: string; outletId?: string | null; outletName?: string | null; reporterContact: string | null; reporterName?: string | null; reporterEmail?: string | null; priority: string; status: string; githubIssueNumber: number | null; githubIssueUrl: string | null; resolutionNote: string | null; devVisible: number; quickNote: number; lastActivityAt: number | string | null; dueAt: number | string | null; images?: string[] | null; imageCount?: number; commentCount: number; createdAt: number | string; updatedAt: number | string; } export interface Comment { id: string; devNoteId: string; authorRole: 'admin' | 'dev'; body: string; createdAt: number | string; } export interface Incident { id: string; title: string; environment: string; severity: 'critical' | 'warning' | 'info'; status: 'open' | 'acknowledged' | 'investigating' | 'resolved' | 'muted'; summary: string; occurrenceCount: number; firstSeenAt: number; lastSeenAt: number; resolutionNote: string | null; resolvedAt: number | null; details?: string; } export interface DeploymentRecord { id: string; application: string; environment: string; status: string; sha: string | null; author: string | null; message: string | null; occurredAt: number; durationSeconds?: number | null; releaseVersion?: string | null; triggeredBy?: string | null; error?: string | null; } export declare function autoDetectGitRepo(): string; export declare function getDynamicGithubConfig(): { token: string; repo: string; isConfigured: boolean; }; export declare class PulseStore { private events; private notes; private comments; private incidents; private deployments; private lastGitSync; private gitCacheTtl; constructor(); private seedDefaultData; fetchLiveGitCommits(limit?: number, force?: boolean, full?: boolean): Promise; getEvents(limit?: number, source?: string): Promise; getSystemHealthMatrix(): Promise<{ category: string; items: { name: string; status: string; detail: string; }[]; }[]>; getOverview(environment?: string): Promise<{ platformStatus: "critical" | "healthy" | "degraded"; presence: { onlineNow: number; signedInSessions: number; }; traffic: { requestsPerMinute: number; p95Ms: number; errorRate: number; }; incidents: { totalOpen: number; critical: number; warning: number; unacknowledged: number; activeList: Incident[]; }; deployment: DeploymentRecord; }>; getIncidents(environment?: string): Incident[]; updateIncident(id: string, updates: { status?: string; resolutionNote?: string; }): Incident | null; getNotes(options: { limit?: number; devVisible?: boolean; quickNote?: boolean; staleOnly?: boolean; status?: string; }): DevNote[]; getNoteById(id: string): DevNote | null; createNote(input: { title: string; description?: string; type?: string; priority?: string; devVisible?: boolean; quickNote?: boolean; source?: string; dueAt?: string | null; images?: string[]; outletId?: string | null; outletName?: string | null; reporterContact?: string | null; reporterName?: string | null; reporterEmail?: string | null; }): DevNote; updateNote(id: string, updates: Partial): DevNote | null; deleteNote(id: string): boolean; getComments(noteId: string): Comment[]; addComment(noteId: string, authorRole: 'admin' | 'dev', body: string): Comment | null; sendNoteToGithub(noteId: string): Promise<{ success: boolean; issueNumber?: number; issueUrl?: string; error?: string; }>; syncGithubNoteStatus(noteId: string): Promise<{ success: boolean; status?: string; error?: string; }>; getStats(): { totalEvents: number; openNotes: number; resolvedNotes: number; staleCount: number; }; } //# sourceMappingURL=store.d.ts.map