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