// Generated from Fairmint/OpenCapTable/StockReissuance.daml
/* eslint-disable @typescript-eslint/camelcase */
/* eslint-disable @typescript-eslint/no-namespace */
/* eslint-disable @typescript-eslint/no-use-before-define */
import * as jtv from '@mojotech/json-type-validation';
import * as damlTypes from '@daml/types';
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
import * as damlLedger from '@daml/ledger';

import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';

import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';

export declare type OcfStockReissuanceTxData = {
  id: string;
  date: damlTypes.Time;
  security_id: string;
  comments: string[];
  resulting_security_ids: string[];
  reason_text: damlTypes.Optional<string>;
  split_transaction_id: damlTypes.Optional<string>;
};

export declare const OcfStockReissuanceTxData:
  damlTypes.Serializable<OcfStockReissuanceTxData> & {
  }
;


export declare type ArchiveByIssuer = {
};

export declare const ArchiveByIssuer:
  damlTypes.Serializable<ArchiveByIssuer> & {
  }
;


export declare type StockReissuance = {
  context: Fairmint_OpenCapTable_Types.Context;
  reissuance_data: OcfStockReissuanceTxData;
};

export declare interface StockReissuanceInterface {
  Archive: damlTypes.Choice<StockReissuance, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockReissuance, undefined>>;
  ArchiveByIssuer: damlTypes.Choice<StockReissuance, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockReissuance, undefined>>;
}
export declare const StockReissuance:
  damlTypes.Template<StockReissuance, undefined, '#OpenCapTable-v25:Fairmint.OpenCapTable.StockReissuance:StockReissuance'> &
  damlTypes.ToInterface<StockReissuance, never> &
  StockReissuanceInterface;

export declare namespace StockReissuance {
  export type CreateEvent = damlLedger.CreateEvent<StockReissuance, undefined, typeof StockReissuance.templateId>
  export type ArchiveEvent = damlLedger.ArchiveEvent<StockReissuance, typeof StockReissuance.templateId>
  export type Event = damlLedger.Event<StockReissuance, undefined, typeof StockReissuance.templateId>
  export type QueryResult = damlLedger.QueryResult<StockReissuance, undefined, typeof StockReissuance.templateId>
}


