// Generated from Fairmint/OpenCapTable/IssuerAuthorization.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_Issuer from '../../../Fairmint/OpenCapTable/Issuer/module';
import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';

export declare type WithdrawAuthorization = {
};

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


export declare type CreateIssuer = {
  issuer_data: Fairmint_OpenCapTable_Issuer.OcfIssuerData;
};

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


export declare type IssuerAuthorization = {
  context: Fairmint_OpenCapTable_Types.Context;
};

export declare interface IssuerAuthorizationInterface {
  CreateIssuer: damlTypes.Choice<IssuerAuthorization, CreateIssuer, damlTypes.ContractId<Fairmint_OpenCapTable_Issuer.Issuer>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorization, undefined>>;
  Archive: damlTypes.Choice<IssuerAuthorization, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorization, undefined>>;
  WithdrawAuthorization: damlTypes.Choice<IssuerAuthorization, WithdrawAuthorization, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorization, undefined>>;
}
export declare const IssuerAuthorization:
  damlTypes.Template<IssuerAuthorization, undefined, '#OpenCapTable-v25:Fairmint.OpenCapTable.IssuerAuthorization:IssuerAuthorization'> &
  damlTypes.ToInterface<IssuerAuthorization, never> &
  IssuerAuthorizationInterface;

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


