import { BigNumber } from 'ethers'; import { Address, App, SubscriptionHandler, ForwardingPath } from '@aragon/connect-core'; import { SubscriptionCallback, IPresaleConnector } from '../types'; import Contribution from './Contribution'; import Contributor from './Contributor'; import GeneralConfig from './GeneralConfig'; export default class Presale { #private; constructor(connector: IPresaleConnector, app: App); disconnect(): Promise; generalConfig(): Promise; onGeneralConfig(callback: SubscriptionCallback): SubscriptionHandler; contributors({ first, skip, orderBy, orderDirection, }?: { first?: number | undefined; skip?: number | undefined; orderBy?: string | undefined; orderDirection?: string | undefined; }): Promise; onContributors({ first, skip, orderBy, orderDirection }: { first?: number | undefined; skip?: number | undefined; orderBy?: string | undefined; orderDirection?: string | undefined; } | undefined, callback: SubscriptionCallback): SubscriptionHandler; contributor(contributor?: string): Promise; onContributor(contributor: string | undefined, callback: SubscriptionCallback): SubscriptionHandler; contributions({ contributor, first, skip, orderBy, orderDirection, }?: { contributor?: string | undefined; first?: number | undefined; skip?: number | undefined; orderBy?: string | undefined; orderDirection?: string | undefined; }): Promise; onContributions({ contributor, first, skip, orderBy, orderDirection, }: { contributor?: string | undefined; first?: number | undefined; skip?: number | undefined; orderBy?: string | undefined; orderDirection?: string | undefined; } | undefined, callback: SubscriptionCallback): SubscriptionHandler; open(signerAddress: string): Promise; close(signerAddress: string): Promise; contribute(contributor: Address, value: string): Promise; refund(contributor: Address, vestedPurchaseId: number): Promise; tokenBalance(entity: Address): Promise; getAllowedContributionAmount(contributor: Address): Promise; } //# sourceMappingURL=Presale.d.ts.map