import { Coin, type CoinSDKType } from '../../base/v1beta1/coin.js'; import { BinaryReader, BinaryWriter } from '../../../binary.js'; import { type JsonSafe } from '../../../json-safe.js'; /** * SendAuthorization allows the grantee to spend up to spend_limit coins from * the granter's account. * * Since: cosmos-sdk 0.43 */ export interface SendAuthorization { $typeUrl?: '/cosmos.bank.v1beta1.SendAuthorization'; spendLimit: Coin[]; /** * allow_list specifies an optional list of addresses to whom the grantee can send tokens on behalf of the * granter. If omitted, any recipient is allowed. * * Since: cosmos-sdk 0.47 */ allowList: string[]; } export interface SendAuthorizationProtoMsg { typeUrl: '/cosmos.bank.v1beta1.SendAuthorization'; value: Uint8Array; } /** * SendAuthorization allows the grantee to spend up to spend_limit coins from * the granter's account. * * Since: cosmos-sdk 0.43 */ export interface SendAuthorizationSDKType { $typeUrl?: '/cosmos.bank.v1beta1.SendAuthorization'; spend_limit: CoinSDKType[]; allow_list: string[]; } export declare const SendAuthorization: { typeUrl: "/cosmos.bank.v1beta1.SendAuthorization"; encode(message: SendAuthorization, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): SendAuthorization; fromJSON(object: any): SendAuthorization; toJSON(message: SendAuthorization): JsonSafe; fromPartial(object: Partial): SendAuthorization; fromProtoMsg(message: SendAuthorizationProtoMsg): SendAuthorization; toProto(message: SendAuthorization): Uint8Array; toProtoMsg(message: SendAuthorization): SendAuthorizationProtoMsg; }; //# sourceMappingURL=authz.d.ts.map