/** * Drop `github-cache` rows for any `gh issue|pr ` call * embedded in `command`. Safe to invoke unconditionally; no-op when the * command does not touch GitHub state. */ export declare function invalidateGithubCacheForBashCommand(command: string): void; /** * After a bash command exits 0, drop live PR metadata/diff rows for every * repository a `git push` in it sent to. Like the `gh` detector this * over-invalidates (a push hidden behind `|| true` still clears): a spurious * clear costs one refetch, a missed one serves the old head until the TTL. */ export declare function invalidateGithubCacheForBashResult(command: string, cwd: string, result: { exitCode?: number; }): Promise;