import { Addressing as AddressingType, CardanoAddressedUtxo as CardanoAddressedUtxoType, MultiTokenValue as MultiTokenValueType, StakingKeyBalances as StakingKeyBalancesType, TokenEntry as TokenEntryType, TxMetadata as TxMetadataType, SignedTx as SignedTxType, UnsignedTx as UnsignedTxType } from '@emurgo/yoroi-lib'; import { WalletChecksum as WalletChecksumType } from '@emurgo/cip4-js'; import * as CoreTypes from '@emurgo/cross-csl-core'; import { AxiosRequestConfig } from 'axios'; import { Api as AppApi } from '@yoroi/types'; export declare namespace CardanoTypes { type TxMetadata = TxMetadataType; type CardanoAddressedUtxo = CardanoAddressedUtxoType; type SignedTx = SignedTxType; type UnsignedTx = UnsignedTxType; type MultiTokenValue = MultiTokenValueType; type StakingKeyBalances = StakingKeyBalancesType; type WalletChecksum = WalletChecksumType; type Address = CoreTypes.Address; type Addressing = AddressingType; type AssetName = CoreTypes.AssetName; type BigNum = CoreTypes.BigNum; type Bip32PrivateKey = CoreTypes.Bip32PrivateKey; type Bip32PublicKey = CoreTypes.Bip32PublicKey; type Certificate = CoreTypes.Certificate; type Ed25519KeyHash = CoreTypes.Ed25519KeyHash; type LinearFee = CoreTypes.LinearFee; type MultiAsset = CoreTypes.MultiAsset; type PublicKey = CoreTypes.PublicKey; type RewardAddress = CoreTypes.RewardAddress; type ScriptHash = CoreTypes.ScriptHash; type StakeCredential = CoreTypes.Credential; type TransactionBuilder = CoreTypes.TransactionBuilder; type Value = CoreTypes.Value; type TokenEntry = TokenEntryType; type Wasm = CoreTypes.WasmModuleProxy; } export declare namespace Catalyst { type Api = Readonly<{ getFundInfo: (fetcherConfig?: AxiosRequestConfig) => Promise>>; }>; type Config = Readonly<{ api: { fund: string; }; apps: { ios: string; android: string; }; groups: { community: string; announcements: string; }; media: { townhall: string; }; newsletter: string; others: { ideascale: string; }; }>; type Manager = Readonly<{ getFundInfo(): ReturnType; fundStatus(fundInfo: FundInfo, when?: Date): FundStatus; config: Config; }>; type FundStatus = { registration: 'pending' | 'running' | 'done'; voting: 'pending' | 'running' | 'done'; results: 'pending' | 'running' | 'done'; }; type FundInfo = { id: number; fundName: string; fundStartTime: Date; fundEndTime: Date; registrationSnapshotTime: Date; challenges: Array; snapshotStart: Date; votingStart: Date; votingEnd: Date; tallyingEnd: Date; resultsUrl: string; surveyUrl: string; votingPowerThreshold: number; }; type FundChallenge = { id: number; challengeType: string; title: string; description: string; rewardsTotal: number; proposersRewards: number; challengeUrl: string; }; type CatalystApiFundInfo = { id: number; fund_name: string; fund_goal: string; voting_power_threshold: number; fund_start_time: string; fund_end_time: string; next_fund_start_time: string; registration_snapshot_time: string; next_registration_snapshot_time: string; chain_vote_plans: Array; challenges: Array; insight_sharing_start: string; proposal_submission_start: string; refine_proposals_start: string; finalize_proposals_start: string; proposal_assessment_start: string; assessment_qa_start: string; snapshot_start: string; voting_start: string; voting_end: string; tallying_end: string; goals: Array[]; results_url: string; survey_url: string; next: CatalystApiFundNext; }; type CatalystApiChainVotePlan = { id: number; chain_voteplan_id: string; chain_vote_start_time: string; chain_vote_end_time: string; chain_committee_end_time: string; chain_voteplan_payload: string; chain_vote_encryption_key: string; fund_id: number; }; type CatalystApiChallenge = { internal_id: number; id: number; challenge_type: string; title: string; description: string; rewards_total: number; proposers_rewards: number; fund_id: number; challenge_url: string; highlights: any; }; type CatalystApiFundNext = { id: number; fund_name: string; insight_sharing_start: string; proposal_submission_start: string; refine_proposals_start: string; finalize_proposals_start: string; proposal_assessment_start: string; assessment_qa_start: string; snapshot_start: string; voting_start: string; voting_end: string; tallying_end: string; }; } //# sourceMappingURL=types.d.ts.map