import { ISubmittableResult } from '@polkadot/types/types'; import BigNumber from 'bignumber.js'; import { Context, DefaultPortfolio, DividendDistribution, InitiateCorporateActionParams, NumberedPortfolio, PostTransactionValue, Procedure } from "../../internal"; import { InputCaCheckpoint } from "../../types"; import { ProcedureAuthorization } from "../../types/internal"; /** * @hidden */ export declare const createDividendDistributionResolver: (context: Context) => (receipt: ISubmittableResult) => Promise; export declare type ConfigureDividendDistributionParams = Omit & { /** * checkpoint to be used to calculate Dividends. If a Schedule is passed, the next Checkpoint it creates will be used. * If a Date is passed, a Checkpoint will be created at that date and used */ checkpoint: InputCaCheckpoint; /** * portfolio from which the Dividends will be distributed. Optional, defaults to the Corporate Actions Agent's Default Portfolio */ originPortfolio?: NumberedPortfolio | BigNumber; /** * ticker of the currency in which Dividends will be distributed */ currency: string; /** * amount of `currency` to distribute per each share of the Asset that a target holds */ perShare: BigNumber; /** * maximum amount of `currency` to distribute in total */ maxAmount: BigNumber; /** * date from which Asset Holders can claim their Dividends */ paymentDate: Date; /** * Optional, defaults to never expiring */ expiryDate?: Date; }; /** * @hidden */ export declare type Params = ConfigureDividendDistributionParams & { ticker: string; }; /** * @hidden */ export interface Storage { portfolio: DefaultPortfolio | NumberedPortfolio; } /** * @hidden */ export declare function prepareConfigureDividendDistribution(this: Procedure, args: Params): Promise>; /** * @hidden */ export declare function getAuthorization(this: Procedure, { ticker }: Params): ProcedureAuthorization; /** * @hidden */ export declare function prepareStorage(this: Procedure, { originPortfolio }: Params): Promise; /** * @hidden */ export declare const configureDividendDistribution: () => Procedure; //# sourceMappingURL=configureDividendDistribution.d.ts.map