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

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


export declare type ArchiveByIssuer = {
};

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


export declare type WarrantAcceptance = {
  context: Fairmint_OpenCapTable_Types.Context;
  acceptance_data: OcfWarrantAcceptanceTxData;
};

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

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


