/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */

import BN from "bn.js";

export type TxID = { transactionId: string };

export interface RarumDigitalTwin {
  BURNER_ROLE(): Promise<string>;

  DEFAULT_ADMIN_ROLE(): Promise<string>;

  MINTER_ROLE(): Promise<string>;

  PAUSER_ROLE(): Promise<string>;

  approve: {
    ({
      to,
      tokenId,
    }: {
      to: string;
      tokenId: number | BN | string;
    }): Promise<TxID>;
  };

  balanceOf({ owner }: { owner: string }): Promise<BN>;

  balancesOf({
    _owner,
  }: {
    _owner: string;
  }): Promise<{ tokenIds: BN[]; uris: string[] }>;

  burn: {
    ({ tokenId }: { tokenId: number | BN | string }): Promise<TxID>;
  };

  getApproved({ tokenId }: { tokenId: number | BN | string }): Promise<string>;

  getRoleAdmin({ role }: { role: string }): Promise<string>;

  getRoleMember({
    role,
    index,
  }: {
    role: string;
    index: number | BN | string;
  }): Promise<string>;

  getRoleMemberCount({ role }: { role: string }): Promise<BN>;

  grantRole: {
    ({ role, account }: { role: string; account: string }): Promise<TxID>;
  };

  hasRole({
    role,
    account,
  }: {
    role: string;
    account: string;
  }): Promise<boolean>;

  initialize: {
    ({
      _name,
      _symbol,
      _defaultAdmin,
      _owner,
    }: {
      _name: string;
      _symbol: string;
      _defaultAdmin: string;
      _owner: string;
    }): Promise<TxID>;
  };

  isApprovedForAll({
    owner,
    operator,
  }: {
    owner: string;
    operator: string;
  }): Promise<boolean>;

  mint: {
    ({ to, uri }: { to: string; uri: string }): Promise<TxID>;
  };

  mintBatch: {
    ({ to, uri }: { to: string; uri: string[] }): Promise<TxID>;
  };

  mintMultiple: {
    ({ records }: { records: { to: string; uri: string }[] }): Promise<TxID>;
  };

  name(): Promise<string>;

  owner(): Promise<string>;

  ownerOf({ tokenId }: { tokenId: number | BN | string }): Promise<string>;

  pause: {
    (): Promise<TxID>;
  };

  paused(): Promise<boolean>;

  renounceRole: {
    ({ role, account }: { role: string; account: string }): Promise<TxID>;
  };

  revokeRole: {
    ({ role, account }: { role: string; account: string }): Promise<TxID>;
  };

  safeBatchTransferFrom: {
    ({
      _from,
      _to,
      _ids,
    }: {
      _from: string;
      _to: string;
      _ids: (number | BN | string)[];
    }): Promise<TxID>;
  };

  setApprovalForAll: {
    ({
      operator,
      approved,
    }: {
      operator: string;
      approved: boolean;
    }): Promise<TxID>;
  };

  supportsInterface({ interfaceId }: { interfaceId: string }): Promise<boolean>;

  symbol(): Promise<string>;

  tokenByIndex({ index }: { index: number | BN | string }): Promise<BN>;

  tokenOfOwnerByIndex({
    owner,
    index,
  }: {
    owner: string;
    index: number | BN | string;
  }): Promise<BN>;

  tokenURI({ tokenId }: { tokenId: number | BN | string }): Promise<string>;

  totalSupply(): Promise<BN>;

  transferFrom: {
    ({
      from,
      to,
      tokenId,
    }: {
      from: string;
      to: string;
      tokenId: number | BN | string;
    }): Promise<TxID>;
  };

  unpause: {
    (): Promise<TxID>;
  };

  "safeTransferFrom(address,address,uint256)": {
    ({
      from,
      to,
      tokenId,
    }: {
      from: string;
      to: string;
      tokenId: number | BN | string;
    }): Promise<TxID>;
  };

  "safeTransferFrom(address,address,uint256,bytes)": {
    ({
      from,
      to,
      tokenId,
      data,
    }: {
      from: string;
      to: string;
      tokenId: number | BN | string;
      data: string;
    }): Promise<TxID>;
  };
}
