import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Any, Message, proto3 } from "@bufbuild/protobuf"; import { Grant } from "./authz_pb.js"; /** * MsgGrant is a request type for Grant method. It declares authorization to the grantee * on behalf of the granter with the provided expiration time. * * @generated from message cosmos.authz.v1beta1.MsgGrant */ export declare class MsgGrant extends Message { /** * @generated from field: string granter = 1; */ granter: string; /** * @generated from field: string grantee = 2; */ grantee: string; /** * @generated from field: cosmos.authz.v1beta1.Grant grant = 3; */ grant?: Grant; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.authz.v1beta1.MsgGrant"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgGrant; static fromJson(jsonValue: JsonValue, options?: Partial): MsgGrant; static fromJsonString(jsonString: string, options?: Partial): MsgGrant; static equals(a: MsgGrant | PlainMessage | undefined, b: MsgGrant | PlainMessage | undefined): boolean; } /** * MsgExecResponse defines the Msg/MsgExecResponse response type. * * @generated from message cosmos.authz.v1beta1.MsgExecResponse */ export declare class MsgExecResponse extends Message { /** * @generated from field: repeated bytes results = 1; */ results: Uint8Array[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.authz.v1beta1.MsgExecResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgExecResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgExecResponse; static fromJsonString(jsonString: string, options?: Partial): MsgExecResponse; static equals(a: MsgExecResponse | PlainMessage | undefined, b: MsgExecResponse | PlainMessage | undefined): boolean; } /** * MsgExec attempts to execute the provided messages using * authorizations granted to the grantee. Each message should have only * one signer corresponding to the granter of the authorization. * * @generated from message cosmos.authz.v1beta1.MsgExec */ export declare class MsgExec extends Message { /** * @generated from field: string grantee = 1; */ grantee: string; /** * Execute Msg. * The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) * triple and validate it. * * @generated from field: repeated google.protobuf.Any msgs = 2; */ msgs: Any[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.authz.v1beta1.MsgExec"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgExec; static fromJson(jsonValue: JsonValue, options?: Partial): MsgExec; static fromJsonString(jsonString: string, options?: Partial): MsgExec; static equals(a: MsgExec | PlainMessage | undefined, b: MsgExec | PlainMessage | undefined): boolean; } /** * MsgGrantResponse defines the Msg/MsgGrant response type. * * @generated from message cosmos.authz.v1beta1.MsgGrantResponse */ export declare class MsgGrantResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.authz.v1beta1.MsgGrantResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgGrantResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgGrantResponse; static fromJsonString(jsonString: string, options?: Partial): MsgGrantResponse; static equals(a: MsgGrantResponse | PlainMessage | undefined, b: MsgGrantResponse | PlainMessage | undefined): boolean; } /** * MsgRevoke revokes any authorization with the provided sdk.Msg type on the * granter's account with that has been granted to the grantee. * * @generated from message cosmos.authz.v1beta1.MsgRevoke */ export declare class MsgRevoke extends Message { /** * @generated from field: string granter = 1; */ granter: string; /** * @generated from field: string grantee = 2; */ grantee: string; /** * @generated from field: string msg_type_url = 3; */ msgTypeUrl: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.authz.v1beta1.MsgRevoke"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRevoke; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRevoke; static fromJsonString(jsonString: string, options?: Partial): MsgRevoke; static equals(a: MsgRevoke | PlainMessage | undefined, b: MsgRevoke | PlainMessage | undefined): boolean; } /** * MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. * * @generated from message cosmos.authz.v1beta1.MsgRevokeResponse */ export declare class MsgRevokeResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.authz.v1beta1.MsgRevokeResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRevokeResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRevokeResponse; static fromJsonString(jsonString: string, options?: Partial): MsgRevokeResponse; static equals(a: MsgRevokeResponse | PlainMessage | undefined, b: MsgRevokeResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=tx_pb.d.ts.map