// Generated from Fairmint/OpenCapTable/OCF/ConvertibleCancellation.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';

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

import * as Fairmint_OpenCapTable_Types_Core from '../../../../Fairmint/OpenCapTable/Types/Core/module';
import * as Fairmint_OpenCapTable_Types_Monetary from '../../../../Fairmint/OpenCapTable/Types/Monetary/module';

export declare type ConvertibleCancellationOcfData = {
  id: string;
  amount: Fairmint_OpenCapTable_Types_Monetary.OcfMonetary;
  date: damlTypes.Time;
  reason_text: string;
  security_id: string;
  comments: string[];
  balance_security_id: damlTypes.Optional<string>;
};

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


export declare type ConvertibleCancellation = {
  context: Fairmint_OpenCapTable_Types_Core.Context;
  cancellation_data: ConvertibleCancellationOcfData;
};

export declare interface ConvertibleCancellationInterface {
  Archive: damlTypes.Choice<ConvertibleCancellation, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleCancellation, undefined>>;
}
export declare const ConvertibleCancellation:
  damlTypes.Template<ConvertibleCancellation, undefined, '#OpenCapTable-v34:Fairmint.OpenCapTable.OCF.ConvertibleCancellation:ConvertibleCancellation'> &
  damlTypes.ToInterface<ConvertibleCancellation, never> &
  ConvertibleCancellationInterface;

export declare namespace ConvertibleCancellation {
}


