/**
 * GitHub authentication via the `gh` CLI.
 *
 * Resolution order:
 *   1. NEOTOMA_ISSUES_GITHUB_TOKEN env var (explicit override for CI/scripts)
 *   2. `gh auth token` (preferred interactive path)
 *   3. Bot fallback (if user declines gh setup)
 *
 * The gh CLI manages OAuth + credential storage transparently. Neotoma
 * never stores GitHub tokens directly -- it resolves them at runtime.
 */
/**
 * Check if the `gh` CLI is installed and accessible.
 */
export declare function isGhInstalled(): Promise<boolean>;
/**
 * Check if the user is authenticated with `gh`.
 */
export declare function isGhAuthenticated(): Promise<boolean>;
/**
 * Get the current auth token from `gh auth token`.
 * Cached in-process for 60 seconds to avoid repeated subprocess calls.
 */
export declare function getGhToken(): Promise<string | null>;
/**
 * Verify the token works by calling the GitHub API.
 */
export declare function verifyGhAuth(): Promise<{
    login: string;
} | null>;
/**
 * Resolve a GitHub token using the priority order.
 *
 * Returns null if no authentication method is available.
 */
export declare function resolveGitHubToken(): Promise<string | null>;
/**
 * Clear the in-process token cache (useful after re-auth).
 */
export declare function clearTokenCache(): void;
//# sourceMappingURL=gh_auth.d.ts.map