/**
 * Flowtype definitions for commandSender
 * Generated by Flowgen from a Typescript Definition
 * Flowgen v1.21.0
 * @flow
 */

import type {
  ParsedAddressParams,
  ParsedCVote,
  ParsedSigningRequest,
  ParsedMessageData,
  ParsedNativeScript,
  ParsedOperationalCertificate,
  ValidBIP32Path,
} from "../../types/internal";
import type { Interaction } from "../common/types";
import typeof { NativeScriptHashDisplayFormat } from "../../types/public";
declare export function sendSignOperationalCertificate(
  operationalCertificate: ParsedOperationalCertificate
): Interaction<Buffer>;
declare export function sendDeriveAddress(
  addressParams: ParsedAddressParams
): Interaction<Buffer>;
declare export function sendShowAddress(
  addressParams: ParsedAddressParams
): Interaction<void>;
declare export function sendGetExtendedPublicKey(
  path: ValidBIP32Path
): Interaction<Buffer>;
declare export function sendSignCVote(cVote: ParsedCVote): Interaction<Buffer>;
declare export function sendSignMessage(
  msgData: ParsedMessageData
): Interaction<Buffer>;
declare export function sendDeriveNativeScriptHash(
  script: ParsedNativeScript,
  displayFormat: $Values<NativeScriptHashDisplayFormat>
): Interaction<Buffer>;
declare export function sendSignTx(
  request: ParsedSigningRequest,
  witnessPaths: ValidBIP32Path[]
): Interaction<{|
  auxiliaryDataResponse: Buffer | null,
  txHashResponse: Buffer,
  witnessResponses: Buffer[],
|}>;
