import { PrismaService } from '../prisma/prisma.service';
export declare const toE164: (phone: string) => string;
export declare class OtpService {
    private readonly prisma;
    private readonly log;
    constructor(prisma: PrismaService);
    private secret;
    private sign;
    verifyToken(token: string | undefined, phone: string): boolean;
    send(rawPhone: string): Promise<{
        sent: boolean;
        expiresInSeconds: number;
    }>;
    verify(rawPhone: string, code: string): Promise<{
        verified: boolean;
        token: string;
    }>;
}
