/** * Optimized Data Loader for Jira Mate * * Provides request-level caching to avoid duplicate FS reads * within a single Next.js request. */ import type { JmMateConfig } from '@/shared/ticketMateTypes'; import type { JmMateProjectSummary, JmMateTicketSummary, JmMateTicketDetail } from '@/ticket-mate/fsLayout'; import type { JmBugRecord } from '@/shared/ticketMateTypes'; /** * Clear request cache (call at end of request) */ export declare function clearRequestCache(): void; /** * Load config with caching */ export declare function loadConfigCached(): Promise; /** * Load projects with caching */ export declare function loadProjectsCached(): Promise; /** * Load project meta with caching */ export declare function loadProjectMetaCached(projectKey: string): Promise<{ name?: string; url?: string; } | null>; /** * Load tickets for project with caching */ export declare function loadTicketsCached(projectKey: string): Promise; /** * Load ticket detail with caching */ export declare function loadTicketDetailCached(projectKey: string, ticketKey: string): Promise; /** * Load bugs for project with caching */ export declare function loadBugsCached(projectKey: string): Promise; /** * Load all data for a project in one call (optimized) */ export declare function loadProjectDataCached(projectKey: string): Promise<{ projectMeta: { name?: string; url?: string; } | null; tickets: JmMateTicketSummary[]; bugs: JmBugRecord[]; }>; //# sourceMappingURL=dataLoader.d.ts.map