import { HD } from '@bsv/sdk';
import { Contact } from '../types';
export declare const DEFAULT_TOTP_PERIOD = 30;
export declare const DEFAULT_TOTP_DIGITS = 2;
/**
 * Generates a TOTP for a given contact
 *
 * @param clientXPriv - The client xpriv
 * @param contact - The Contact
 * @param period - The TOTP period (default: 30)
 * @param digits - The number of TOTP digits (default: 2)
 * @returns The generated TOTP as a string
 */
export declare const generateTotpForContact: (clientXPriv: HD, contact: Contact, period?: number, digits?: number) => string;
/**
 * Validates a TOTP for a given contact
 *
 * @param clientXPriv - The client xpriv
 * @param generatorContact - The Contact of the person who generated the TOTP
 * @param passcode - The TOTP passcode to validate
 * @param validatorPaymail - The paymail of the person who is validating the TOTP
 * @param period - The TOTP period (default: 30)
 * @param digits - The number of TOTP digits (default: 2)
 * @returns A boolean indicating whether the TOTP is valid
 */
export declare const validateTotpForContact: (clientXPriv: HD, generatorContact: Contact, passcode: string, validatorPaymail: string, period?: number, digits?: number) => boolean;
