import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; import { BinaryReader, BinaryWriter } from "../../../binary"; export declare const protobufPackage = "cosmos.authz.v1beta1"; /** * GenericAuthorization gives the grantee unrestricted permissions to execute * the provided method on behalf of the granter's account. */ export interface GenericAuthorization { /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ msg: string; } /** * GenericAuthorization gives the grantee unrestricted permissions to execute * the provided method on behalf of the granter's account. */ export interface GenericAuthorizationSDKType { msg: string; } /** * Grant gives permissions to execute * the provide method with expiration time. */ export interface Grant { authorization?: Any | undefined; expiration: Timestamp | undefined; } /** * Grant gives permissions to execute * the provide method with expiration time. */ export interface GrantSDKType { authorization?: AnySDKType | undefined; expiration: TimestampSDKType | undefined; } /** * GrantAuthorization extends a grant with both the addresses of the grantee and granter. * It is used in genesis.proto and query.proto * * Since: cosmos-sdk 0.45.2 */ export interface GrantAuthorization { granter: string; grantee: string; authorization?: Any | undefined; expiration: Timestamp | undefined; } /** * GrantAuthorization extends a grant with both the addresses of the grantee and granter. * It is used in genesis.proto and query.proto * * Since: cosmos-sdk 0.45.2 */ export interface GrantAuthorizationSDKType { granter: string; grantee: string; authorization?: AnySDKType | undefined; expiration: TimestampSDKType | undefined; } export declare const GenericAuthorization: { typeUrl: string; encode(message: GenericAuthorization, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GenericAuthorization; fromJSON(object: any): GenericAuthorization; toJSON(message: GenericAuthorization): unknown; fromPartial & { msg?: string; } & Record, never>>(object: I): GenericAuthorization; }; export declare const Grant: { typeUrl: string; encode(message: Grant, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Grant; fromJSON(object: any): Grant; toJSON(message: Grant): unknown; fromPartial & { authorization?: Any & { typeUrl: string; value: Uint8Array; } & Record, never>; expiration?: Timestamp & { seconds: bigint; nanos: number; } & Record, never>; } & Record, never>>(object: I): Grant; }; export declare const GrantAuthorization: { typeUrl: string; encode(message: GrantAuthorization, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GrantAuthorization; fromJSON(object: any): GrantAuthorization; toJSON(message: GrantAuthorization): unknown; fromPartial & { granter?: string; grantee?: string; authorization?: Any & { typeUrl: string; value: Uint8Array; } & Record, never>; expiration?: Timestamp & { seconds: bigint; nanos: number; } & Record, never>; } & Record, never>>(object: I): GrantAuthorization; };