import { DeployArgs, PublicKey, State, UInt64, SmartContract, Bool, Field } from "o1js"; import { Whitelist } from "@silvana-one/storage"; declare const ClaimEvent_base: (new (value: { amount: UInt64; address: PublicKey; }) => { amount: UInt64; address: PublicKey; }) & { _isStruct: true; } & Omit, "fromFields"> & { fromFields: (fields: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[]) => { amount: UInt64; address: PublicKey; }; } & { fromValue: (value: { amount: number | bigint | UInt64; address: PublicKey | { x: Field | bigint; isOdd: Bool | boolean; }; }) => { amount: UInt64; address: PublicKey; }; toInput: (x: { amount: UInt64; address: PublicKey; }) => { fields?: Field[] | undefined; packed?: [Field, number][] | undefined; }; toJSON: (x: { amount: UInt64; address: PublicKey; }) => { amount: string; address: string; }; fromJSON: (x: { amount: string; address: string; }) => { amount: UInt64; address: PublicKey; }; empty: () => { amount: UInt64; address: PublicKey; }; }; declare class ClaimEvent extends ClaimEvent_base { } export interface FungibleTokenClaimContractDeployProps extends Exclude { /** The whitelist. */ whitelist: Whitelist; /** The maximum amount of tokens to claim in case the whitelist is empty. */ maxAmount?: UInt64; } export declare class FungibleTokenClaimContract extends SmartContract { owner: State; token: State; whitelist: State; maxAmount: State; deploy(args: FungibleTokenClaimContractDeployProps): Promise; events: { offer: typeof ClaimEvent; withdraw: typeof ClaimEvent; claim: typeof ClaimEvent; updateWhitelist: typeof Whitelist; }; initialize(owner: PublicKey, // we are short of AccountUpdates here, so we use this parameter instead of this.sender.getUnconstrained() token: PublicKey, amount: UInt64): Promise; offer(amount: UInt64): Promise; withdraw(amount: UInt64): Promise; claim(amount: UInt64): Promise; updateWhitelist(whitelist: Whitelist): Promise; } export {};