import { Any, AnySDKType } from "../../../google/protobuf/any"; import * as _m0 from "protobufjs/minimal"; import { DeepPartial } from "@osmonauts/helpers"; /** * 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, identified by it's type URL, to grant unrestricted permissions to execute */ msg: string; } /** * Grant gives permissions to execute * the provide method with expiration time. */ export interface Grant { authorization: Any; expiration: Date; } /** * Grant gives permissions to execute * the provide method with expiration time. */ export interface GrantSDKType { authorization: AnySDKType; expiration: Date; } /** * 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; expiration: Date; } /** * 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; expiration: Date; } export declare const GenericAuthorization: { encode(message: GenericAuthorization, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GenericAuthorization; fromPartial(object: DeepPartial): GenericAuthorization; }; export declare const Grant: { encode(message: Grant, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Grant; fromPartial(object: DeepPartial): Grant; }; export declare const GrantAuthorization: { encode(message: GrantAuthorization, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GrantAuthorization; fromPartial(object: DeepPartial): GrantAuthorization; };