// Generated from Fairmint/OpenCapTable/OCF/EquityCompensationRetraction.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 EquityCompensationRetractionOcfData = {
  id: string;
  date: damlTypes.Time;
  reason_text: string;
  security_id: string;
  comments: string[];
};

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


export declare type EquityCompensationRetraction = {
  context: Fairmint_OpenCapTable_Types.Context;
  retraction_data: EquityCompensationRetractionOcfData;
};

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

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


