// Generated from Fairmint/OpenCapTable/StockClassConversionRatioAdjustment.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 OcfStockClassConversionRatioAdjustmentTxData = {
  id: string;
  date: damlTypes.Time;
  new_ratio_conversion_mechanism: Fairmint_OpenCapTable_Types.OcfRatioConversionMechanism;
  stock_class_id: string;
  comments: string[];
};

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


export declare type ArchiveByIssuer = {
};

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


export declare type StockClassConversionRatioAdjustment = {
  context: Fairmint_OpenCapTable_Types.Context;
  adjustment_data: OcfStockClassConversionRatioAdjustmentTxData;
};

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

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


