import type { RequestConfig } from "../utils/request.js"; import { type OtpSendParams, type OtpVerifyParams, type OtpResendParams, type OtpReverseInitiateParams, type OtpReverseInitiateResponse, type OtpReverseVerifyResponse, type OtpReverseCancelResponse } from "../schemas/otp.js"; export declare class OtpResource { private readonly config; constructor(config: RequestConfig); send(params: OtpSendParams): Promise<{ otp_id: string; } & { metadata: { id: string; timestamp: string; api_version: string; object: string; }; }>; /** @deprecated Use send() instead. */ new(params: OtpSendParams): Promise<{ otp_id: string; } & { metadata: { id: string; timestamp: string; api_version: string; object: string; }; }>; verify(params: OtpVerifyParams): Promise<{ verified: boolean; } & { metadata: { id: string; timestamp: string; api_version: string; object: string; }; }>; resend(params: OtpResendParams): Promise<{ resent: boolean; } & { metadata: { id: string; timestamp: string; api_version: string; object: string; }; }>; readonly reverse: { initiate: (params?: OtpReverseInitiateParams) => Promise; verify: (otp_id: string) => Promise; cancel: (otp_id: string) => Promise; }; } //# sourceMappingURL=otp.d.ts.map