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

import type {
  HexString,
  ParsedDatum,
  ParsedOutput,
  ParsedOutputDestination,
} from "../../../types/internal";
import type { Version } from "../../../types/public";
declare export var MAX_CHUNK_SIZE: 240;
declare export function serializeTxOutputDestination(
  destination: ParsedOutputDestination,
  version: Version
): Buffer<ArrayBuffer>;
declare export function serializeTxOutputBasicParams(
  output: ParsedOutput,
  version: Version
): Buffer;
declare export function serializeTxOutputDatum(
  datum: ParsedDatum,
  version: Version
): Buffer;
declare export function serializeTxOutputRefScript(
  referenceScriptHex: HexString
): Buffer;
