/** * Bugs Service * * Service for reading and managing bugs from .orchestrator/tickets/bugs.json */ import type { BugItem } from '../../../automation/json-reader'; export interface BugsJson { bugs: BugItem[]; } /** * Read bugs from .orchestrator/tickets/bugs.json * * Note: In a Vite app, this will only work in Node.js context (e.g., during build). * For runtime, we need to either: * 1. Copy bugs.json to public/ during build * 2. Use a Vite plugin to serve it * 3. Import it directly if moved to src/ */ export declare const bugsService: { /** * Read bugs from file system (Node.js only) */ readBugsFromFile: (baseDir?: string) => BugsJson; /** * Fetch bugs from public endpoint (browser) */ fetchBugs: () => Promise; }; //# sourceMappingURL=bugs.service.d.ts.map