import { KeyStore } from './context';
export interface PtutOptions {
    /**
     * how to interpret the value. if omitted, defaults to pennies.
     */
    valueClass?: 'pennies' | 'pounds';
    /**
     * positive integer between 0 and 8191 - inclusive
     */
    value: number;
    /**
     * keystore to lookup certificates/keys for computing the gmac
     */
    lookupKey: KeyStore;
    /**
     * originator id
     */
    originator: string;
    /**
     * target id
     */
    target: string;
    /**
     * counter used to sign message, should be larger than any other counter used
     * for originator/target pair top-ups.
     */
    counter: bigint;
}
/**
 * generates a pre-payment token decimal in accordance with section 14 of gbcs
 *
 * @param options
 * @returns bigint
 */
export declare function pptd(options: PtutOptions): Promise<bigint>;
/**
 * Computes the Verhoeff check digit as described in section 14.8 of GBCS.
 *
 * @param digits non empty string consisting of digits 0-9
 * @returns single digit as string
 */
export declare function verhoeffGbcs(digits: string): '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
/**
 * applies check digit (Verhoeff algorithm) to pptd
 *
 * @param options
 * @returns complete utrn as string
 */
export declare function utrn(options: PtutOptions): Promise<string>;
//# sourceMappingURL=utrn.d.ts.map