// Generated from Fairmint/OpenCapTable/OCF/StockRepurchase.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';

import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';

import * as Fairmint_OpenCapTable_Types from '../../../../Fairmint/OpenCapTable/Types/module';

export declare type StockRepurchaseOcfData = {
  id: string;
  date: damlTypes.Time;
  price: Fairmint_OpenCapTable_Types.OcfMonetary;
  quantity: damlTypes.Numeric;
  security_id: string;
  comments: string[];
  balance_security_id: damlTypes.Optional<string>;
  consideration_text: damlTypes.Optional<string>;
};

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


export declare type StockRepurchase = {
  context: Fairmint_OpenCapTable_Types.Context;
  repurchase_data: StockRepurchaseOcfData;
};

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

export declare namespace StockRepurchase {
}


