// Generated from Fairmint/OpenCapTable/OcpFactory.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 pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../Splice/Api/FeaturedAppRightV1';
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';

import * as Fairmint_OpenCapTable_IssuerAuthorization from '../../../Fairmint/OpenCapTable/IssuerAuthorization/module';

export declare type AuthorizeIssuer = {
  issuer: damlTypes.Party;
};

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


export declare type OcpFactory = {
  system_operator: damlTypes.Party;
  featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
};

export declare interface OcpFactoryInterface {
  Archive: damlTypes.Choice<OcpFactory, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<OcpFactory, undefined>>;
  AuthorizeIssuer: damlTypes.Choice<OcpFactory, AuthorizeIssuer, damlTypes.ContractId<Fairmint_OpenCapTable_IssuerAuthorization.IssuerAuthorization>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<OcpFactory, undefined>>;
}
export declare const OcpFactory:
  damlTypes.Template<OcpFactory, undefined, '#OpenCapTable-v25:Fairmint.OpenCapTable.OcpFactory:OcpFactory'> &
  damlTypes.ToInterface<OcpFactory, never> &
  OcpFactoryInterface;

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


