import ChainHelper from '../../helpers/chain'; import { ISignPlugin, ValidateDelegate } from '../interface'; /** * Mykey plugins help to sign and validate signature */ export declare class MykeyPlugin implements ISignPlugin { private readonly config; /** * initiate with the chain helper * @param {Object.} config - default: {mgrcontract: 'mykeymanager'} */ constructor(config?: { mgrcontract: string; }); getSignKey(account: string, chain: ChainHelper): Promise; readonly perm: string; readonly signKeyProvider: { [x: string]: (account: string, chain: ChainHelper) => Promise; }; readonly validatorProvider: { [perm: string]: ValidateDelegate; }; }