import { PrismaService } from '@hed-hog/api-prisma';
import { HttpService } from '@nestjs/axios';
import { SettingService } from '../../setting/setting.service';
import { BaseOAuthProvider } from './abstract.provider';
export declare class GithubProvider extends BaseOAuthProvider {
    private readonly setting;
    private readonly prisma;
    private isAbsoluteCallbackPath;
    constructor(http: HttpService, setting: SettingService, prisma: PrismaService);
    getProviderType(): string;
    private loadConfig;
    getAuthUrl(callbackPath: string): Promise<string>;
    getProfile(code: string, _type?: string, redirectUri?: string): Promise<{
        id: any;
        email: any;
        name: any;
        picture: any;
        oauth_tokens: {
            access_token: any;
            refresh_token: any;
            expires_in: any;
            token_type: string;
        };
    }>;
}
//# sourceMappingURL=github.provider.d.ts.map