import { asset } from "./asset.js";
export declare const protobufPackage = "hive.protocol.buffers";
/**
 * Related to any operation that modifies HBD liquid or savings balance (including block processing).
 * Generated when operation modified HBD balance and account received interest payment.
 * Interest is stored in related balance (liquid when liquid was modified, savings when savings was modified).
 * Note: since HF25 interest is not calculated nor paid on liquid balance.
 */
export interface interest {
    /** @param {string} owner - user that had his HBD balance modified (receiver of interest) */
    owner: string;
    /** @param {asset} interest - (HBD) amount of interest paid */
    interest: asset | undefined;
    /** @param {bool} is_saved_into_hbd_balance - true when liquid balance was modified (not happening after HF25) */
    is_saved_into_hbd_balance: boolean;
}
export declare const interest: {
    fromJSON(object: any): interest;
    toJSON(message: interest): unknown;
    create<I extends Exact<DeepPartial<interest>, I>>(base?: I): interest;
    fromPartial<I extends Exact<DeepPartial<interest>, I>>(object: I): interest;
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in keyof T]?: DeepPartial<T[K]>;
} : Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
    [K in keyof P]: Exact<P[K], I[K]>;
} & {
    [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
};
export {};
