import type { Principal } from '@dfinity/principal'; import type { ActorMethod } from '@dfinity/agent'; import type { IDL } from '@dfinity/candid'; export type AccountRef = { sub: SubId } | { vir: RemoteId } | { mint: null }; export interface AggregatorIngressAPI { streamStatus: ActorMethod<[], Array>; submitAndExecute: ActorMethod<[Array], Array>; txStatus: ActorMethod<[Array], Array>; } export type AssetId = bigint; export interface FtTransfer { to: AccountRef; asset: AssetId; from: AccountRef; memo: Array; feeMode: [] | [{ receiverPays: null } | { senderPays: null }]; amount: { max: null } | { amount: bigint }; } export type GidStatus = | { pending: {} } | { other: [Time, { settled: null } | { settledIfIssuedHere: null }]; } | { queued: [bigint] }; export type GlobalId = [bigint, bigint]; export type RemoteId = [Principal, VirId]; export interface StreamStatus { id: bigint; sent: bigint; length: bigint; received: bigint; } export type SubId = bigint; export type Time = bigint; export type TxInput = { ftTransfer: FtTransfer }; export type VirId = bigint; export interface _SERVICE extends AggregatorIngressAPI {} export declare const idlFactory: IDL.InterfaceFactory;