import { Repository } from 'typeorm';
import { NestAuthUser } from '../../user/entities/user.entity';
import { NestAuthIdentity } from '../../user/entities/identity.entity';
import { BaseAuthProvider } from './base-auth.provider';
import { SocialCredentialsDto } from 'src/lib/auth';
export declare class GitHubAuthProvider extends BaseAuthProvider {
    protected readonly userRepository: Repository<NestAuthUser>;
    protected readonly authIdentityRepository: Repository<NestAuthIdentity>;
    providerName: string;
    private githubConfig;
    constructor(userRepository: Repository<NestAuthUser>, authIdentityRepository: Repository<NestAuthIdentity>);
    validate(credentials: SocialCredentialsDto): Promise<{
        userId: any;
        email: any;
        metadata: {
            name: any;
            login: any;
            avatar: any;
            bio: any;
            company: any;
            location: any;
        };
    }>;
    getRequiredFields(): string[];
}
//# sourceMappingURL=github-auth.provider.d.ts.map