// Generated from Fairmint/OpenCapTable/WarrantExercise.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 OcfWarrantExerciseTxData = {
  id: string;
  date: damlTypes.Time;
  security_id: string;
  trigger_id: string;
  comments: string[];
  resulting_security_ids: string[];
  consideration_text: damlTypes.Optional<string>;
  quantity: damlTypes.Optional<damlTypes.Numeric>;
};

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


export declare type ArchiveByIssuer = {
};

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


export declare type WarrantExercise = {
  context: Fairmint_OpenCapTable_Types.Context;
  exercise_data: OcfWarrantExerciseTxData;
};

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

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


