import { Octokit } from '@octokit/rest'; import { graphql } from '@octokit/graphql'; import * as simpleGitImport from 'simple-git'; import type { RateLimitSnapshot } from './types.js'; export declare const CACHE_TTL_MS: number; export declare const TRAFFIC_CACHE_TTL_MS: number; export interface CacheEntry { data: T; timestamp: number; sizeBytes: number; } export declare class GitHubClient { octokit: Octokit | null; graphqlWithAuth: typeof graphql | null; git: simpleGitImport.SimpleGit; latestRateLimit: RateLimitSnapshot | null; readonly apiCache: Map>; private totalCacheBytes; private readonly MAX_CACHE_BYTES; private readonly MAX_ENTRY_BYTES; constructor(workingDir?: string, token?: string); isApiAvailable(): boolean; getCached(key: string): unknown; getCachedWithTtl(key: string, ttlMs: number): unknown; setCache(key: string, data: unknown): void; invalidateCache(prefix: string): void; clearCache(): void; } //# sourceMappingURL=client.d.ts.map