import { Repository } from 'typeorm';
import { NestAuthUser } from '../../user/entities/user.entity';
import { NestAuthIdentity } from '../../user/entities/identity.entity';
import { BaseAuthProvider, LinkUserWith } from './base-auth.provider';
import { PhoneCredentialsDto } from 'src/lib/auth';
export declare class PhoneAuthProvider extends BaseAuthProvider {
    protected readonly userRepository: Repository<NestAuthUser>;
    protected readonly authIdentityRepository: Repository<NestAuthIdentity>;
    providerName: string;
    constructor(userRepository: Repository<NestAuthUser>, authIdentityRepository: Repository<NestAuthIdentity>);
    validate(credentials: PhoneCredentialsDto): Promise<{
        userId: string;
        phone: string;
        metadata: NestAuthUser;
    }>;
    getRequiredFields(): string[];
    linkUserWith(): LinkUserWith;
}
//# sourceMappingURL=phone-auth.provider.d.ts.map