/**
 * GitHub ContributorResolver implementation.
 *
 * Resolves contributor permissions by querying the GitHub API for
 * collaborator permission levels on a repository.
 */
import type { ContributorResolver, ContributorInfo } from '@kici-dev/engine';
import { type GitHubAppConfig } from './auth.js';
/**
 * GitHub-specific implementation of ContributorResolver.
 *
 * Uses the GitHub API to check a user's permission level on a repository.
 * Handles 403 (insufficient app permissions) and 404 (not a collaborator)
 * gracefully by returning 'none' permission.
 */
export declare class GitHubContributorResolver implements ContributorResolver {
    private readonly config;
    readonly provider: "github";
    constructor(config: GitHubAppConfig);
    /**
     * Resolve a contributor's permission level on a GitHub repository.
     *
     * @param repoIdentifier - "owner/repo" format
     * @param username - GitHub username
     * @param credentials - GitHubCredentials with installationId
     * @returns ContributorInfo with mapped permission level
     */
    resolveContributor(repoIdentifier: string, username: string, credentials: unknown): Promise<ContributorInfo>;
}
//# sourceMappingURL=contributor-resolver.d.ts.map