import type { AppProps } from '../app-props.js'; import type { StatuslineItem } from '../components/statusline-picker.js'; import { type GitInfo } from '../git-info.js'; interface GitSessionStatusOptions { agent: AppProps['agent']; getLiveSessions: AppProps['getLiveSessions']; setSessionCount: (count: number) => void; /** * Statusline hidden items. The 10s git poll is the only consumer of * `readGitInfo`, which spawns three `git` child processes per tick — * when the `git` chip is user-hidden, skip the poll entirely until it * is visible again. */ hiddenItems?: readonly StatuslineItem[] | undefined; } /** Polls repository identity and the live-session count for status surfaces. */ export declare function useGitSessionStatus({ agent, getLiveSessions, setSessionCount, hiddenItems, }: GitSessionStatusOptions): GitInfo | null; export {}; //# sourceMappingURL=use-git-session-status.d.ts.map