/**
 * Wampy.js Challenge Response Authentication plugin
 *
 * Copyright 2016 KSDaemon. Licensed under the MIT License.
 * See @license text at http://www.opensource.org/licenses/mit-license.php
 *
 */
/**
 * Information required for WAMP-CRA signing.
 */
interface WampCraInfo {
    challenge: string;
    salt?: string;
    iterations?: number;
    keylen?: number;
}
/**
 * Derives a key using PBKDF2 algorithm.
 */
declare function deriveKey(secret: string, salt: string, iterations?: number, keylen?: number): Promise<string>;
/**
 * Signs a challenge using the manual method.
 */
declare function signManual(key: string, challenge: string): Promise<string>;
/**
 * Creates a signing function using the specified secret.
 */
declare function sign(secret: string): (method: string, info: WampCraInfo) => Promise<string>;

export { deriveKey, sign, signManual };
