import type { AuthResult, ExecFileFn } from '../../types/github.js';
/**
 * Detect the best available GitHub authentication method.
 */
export declare function detectAuth(exec?: ExecFileFn, env?: Record<string, string | undefined>): Promise<AuthResult>;
/**
 * Validate that the current auth has the required scopes for an operation.
 */
export declare function validateScopes(auth: AuthResult, requiredScopes: string[]): {
    valid: boolean;
    missing: string[];
};
//# sourceMappingURL=auth.d.ts.map