import { type ProjectHealthScan } from "@kenkaiiii/gg-engine/internal/core/project-health-scan.js"; import { type GitHubOpenCounts } from "@kenkaiiii/gg-engine/internal/utils/github.js"; import { type GitHubCI } from "@kenkaiiii/gg-engine/internal/utils/github-ci.js"; import { type SharedPolls } from "../utils/shared-poll.js"; /** * Daemon-wide repo pollers, shared by every window on the same repo so * opening a project twice doesn't double the git/`gh` processes. * Keys: `branch`, `dirtyFiles`, `gitHubCI` and `projectHealth` by resolved cwd (a * worktree has its own files and HEAD); `gitHubCounts` by `owner/repo` * (counts are repo-wide). */ export interface RepoPolls { /** Checked-out branch; null (not a repo, git failed) publishes nothing. */ readonly branch: SharedPolls; readonly dirtyFiles: SharedPolls; readonly gitHubCounts: SharedPolls; readonly gitHubCI: SharedPolls; readonly projectHealth: SharedPolls; } export declare function createRepoPolls(): RepoPolls;