// Generated from Fairmint/OpenCapTable/OCF/StockClass.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 StockClassOcfData = {
  id: string;
  class_type: Fairmint_OpenCapTable_Types.OcfStockClassType;
  default_id_prefix: string;
  initial_shares_authorized: damlTypes.Numeric;
  name: string;
  seniority: damlTypes.Numeric;
  votes_per_share: damlTypes.Numeric;
  comments: string[];
  conversion_rights: Fairmint_OpenCapTable_Types.OcfStockClassConversionRight[];
  board_approval_date: damlTypes.Optional<damlTypes.Time>;
  liquidation_preference_multiple: damlTypes.Optional<damlTypes.Numeric>;
  par_value: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
  participation_cap_multiple: damlTypes.Optional<damlTypes.Numeric>;
  price_per_share: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
  stockholder_approval_date: damlTypes.Optional<damlTypes.Time>;
};

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


export declare type StockClass = {
  context: Fairmint_OpenCapTable_Types.Context;
  stock_class_data: StockClassOcfData;
};

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

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


