import type { ExecFileFn } from '../../types/github.js';
/**
 * Check if `gh` CLI is available on the system.
 */
export declare function isGhAvailable(exec?: ExecFileFn): Promise<boolean>;
/**
 * Run a `gh` CLI command and return parsed JSON output.
 */
export declare function ghJson<T>(args: string[], exec?: ExecFileFn): Promise<T>;
/**
 * Run a `gh` CLI command and return raw stdout.
 */
export declare function ghRaw(args: string[], exec?: ExecFileFn): Promise<string>;
/**
 * Run a `gh auth status` and parse the result.
 */
export declare function ghAuthStatus(exec?: ExecFileFn): Promise<{
    authenticated: boolean;
    user?: string;
    scopes?: string[];
}>;
//# sourceMappingURL=gh-cli.d.ts.map