import BigNumber from 'bignumber.js'; import { AddInstructionParams, AddInstructionsParams, Context, Entity, Instruction, ModifyVenueParams, NumberedPortfolio } from "../../../internal"; import { GroupedInstructions, ProcedureMethod } from "../../../types"; import { VenueDetails } from './types'; export interface UniqueIdentifiers { id: BigNumber; } /** * @hidden */ export declare function addInstructionTransformer([instruction]: Instruction[]): Instruction; /** * @hidden */ export declare function createPortfolioTransformer([portfolio]: NumberedPortfolio[]): NumberedPortfolio; /** * Represents a Venue through which settlements are handled */ export declare class Venue extends Entity { /** * @hidden * Check if a value is of type {@link UniqueIdentifiers} */ static isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers; /** * identifier number of the Venue */ id: BigNumber; /** * @hidden */ constructor(identifiers: UniqueIdentifiers, context: Context); /** * Determine whether this Venue exists on chain */ exists(): Promise; /** * Retrieve information specific to this Venue */ details(): Promise; /** * Retrieve all pending and failed Instructions in this Venue */ getInstructions(): Promise>; /** * Retrieve all pending Instructions in this Venue * * @deprecated in favor of `getInstructions` */ getPendingInstructions(): Promise; /** * Fetch instructions from the chain */ private fetchInstructions; /** * Creates a settlement Instruction in this Venue * * @note required role: * - Venue Owner */ addInstruction: ProcedureMethod; /** * Creates a batch of settlement Instructions in this Venue * * @note required role: * - Venue Owner */ addInstructions: ProcedureMethod; /** * Modify description and type * * @note required role: * - Venue Owner */ modify: ProcedureMethod; /** * Return the Venue's ID */ toJson(): string; } //# sourceMappingURL=index.d.ts.map