import type { HexString } from '@polkadot/util/types'; import type { Keypair } from '../types'; /** * @name ed25519Sign * @summary Signs a message using the supplied secretKey * @description * Returns message signature of `message`, using the `secretKey`. * @example *
* * ```javascript * import { ed25519Sign } from '@zcloak/crypto'; * * ed25519Sign([...], [...]); // => [...] * ``` */ export declare function ed25519Sign(message: HexString | Uint8Array | string, { secretKey }: Keypair): Uint8Array;