import Long from "long"; import _m0 from "protobufjs/minimal"; import { BaseAccount } from "../../auth/v1beta1/auth"; import { Coin } from "../../base/v1beta1/coin"; export declare const protobufPackage = "cosmos.vesting.v1beta1"; /** * BaseVestingAccount implements the VestingAccount interface. It contains all * the necessary fields needed for any vesting account implementation. */ export interface BaseVestingAccount { baseAccount: BaseAccount | undefined; originalVesting: Coin[]; delegatedFree: Coin[]; delegatedVesting: Coin[]; /** Vesting end time, as unix timestamp (in seconds). */ endTime: Long; } /** * ContinuousVestingAccount implements the VestingAccount interface. It * continuously vests by unlocking coins linearly with respect to time. */ export interface ContinuousVestingAccount { baseVestingAccount: BaseVestingAccount | undefined; /** Vesting start time, as unix timestamp (in seconds). */ startTime: Long; } /** * DelayedVestingAccount implements the VestingAccount interface. It vests all * coins after a specific time, but non prior. In other words, it keeps them * locked until a specified time. */ export interface DelayedVestingAccount { baseVestingAccount: BaseVestingAccount | undefined; } /** Period defines a length of time and amount of coins that will vest. */ export interface Period { /** Period duration in seconds. */ length: Long; amount: Coin[]; } /** * PeriodicVestingAccount implements the VestingAccount interface. It * periodically vests by unlocking coins during each specified period. */ export interface PeriodicVestingAccount { baseVestingAccount: BaseVestingAccount | undefined; startTime: Long; vestingPeriods: Period[]; } /** * PermanentLockedAccount implements the VestingAccount interface. It does * not ever release coins, locking them indefinitely. Coins in this account can * still be used for delegating and for governance votes even while locked. */ export interface PermanentLockedAccount { baseVestingAccount: BaseVestingAccount | undefined; } export declare const BaseVestingAccount: { encode(message: BaseVestingAccount, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BaseVestingAccount; fromJSON(object: any): BaseVestingAccount; toJSON(message: BaseVestingAccount): unknown; create(base?: DeepPartial): BaseVestingAccount; fromPartial(object: DeepPartial): BaseVestingAccount; }; export declare const ContinuousVestingAccount: { encode(message: ContinuousVestingAccount, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ContinuousVestingAccount; fromJSON(object: any): ContinuousVestingAccount; toJSON(message: ContinuousVestingAccount): unknown; create(base?: DeepPartial): ContinuousVestingAccount; fromPartial(object: DeepPartial): ContinuousVestingAccount; }; export declare const DelayedVestingAccount: { encode(message: DelayedVestingAccount, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DelayedVestingAccount; fromJSON(object: any): DelayedVestingAccount; toJSON(message: DelayedVestingAccount): unknown; create(base?: DeepPartial): DelayedVestingAccount; fromPartial(object: DeepPartial): DelayedVestingAccount; }; export declare const Period: { encode(message: Period, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Period; fromJSON(object: any): Period; toJSON(message: Period): unknown; create(base?: DeepPartial): Period; fromPartial(object: DeepPartial): Period; }; export declare const PeriodicVestingAccount: { encode(message: PeriodicVestingAccount, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicVestingAccount; fromJSON(object: any): PeriodicVestingAccount; toJSON(message: PeriodicVestingAccount): unknown; create(base?: DeepPartial): PeriodicVestingAccount; fromPartial(object: DeepPartial): PeriodicVestingAccount; }; export declare const PermanentLockedAccount: { encode(message: PermanentLockedAccount, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): PermanentLockedAccount; fromJSON(object: any): PermanentLockedAccount; toJSON(message: PermanentLockedAccount): unknown; create(base?: DeepPartial): PermanentLockedAccount; fromPartial(object: DeepPartial): PermanentLockedAccount; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {};