import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; import * as _m0 from "protobufjs/minimal"; 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; /** * time when the grant will expire and will be pruned. If null, then the grant * doesn't have a time expiration (other conditions in `authorization` * may apply to invalidate the grant) */ expiration?: Timestamp; } /** * Grant gives permissions to execute * the provide method with expiration time. */ export interface GrantSDKType { authorization?: AnySDKType; expiration?: TimestampSDKType; } /** * GrantAuthorization extends a grant with both the addresses of the grantee and granter. * It is used in genesis.proto and query.proto */ export interface GrantAuthorization { granter: string; grantee: string; authorization?: Any; expiration?: Timestamp; } /** * GrantAuthorization extends a grant with both the addresses of the grantee and granter. * It is used in genesis.proto and query.proto */ export interface GrantAuthorizationSDKType { granter: string; grantee: string; authorization?: AnySDKType; expiration?: TimestampSDKType; } /** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ export interface GrantQueueItem { /** msg_type_urls contains the list of TypeURL of a sdk.Msg. */ msgTypeUrls: string[]; } /** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ export interface GrantQueueItemSDKType { msg_type_urls: string[]; } export declare const GenericAuthorization: { encode(message: GenericAuthorization, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GenericAuthorization; fromJSON(object: any): GenericAuthorization; toJSON(message: GenericAuthorization): unknown; fromPartial, never>>(object: I): GenericAuthorization; fromSDK(object: GenericAuthorizationSDKType): GenericAuthorization; toSDK(message: GenericAuthorization): GenericAuthorizationSDKType; }; export declare const Grant: { encode(message: Grant, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Grant; fromJSON(object: any): Grant; toJSON(message: Grant): unknown; fromPartial, never>) | undefined; expiration?: ({ seconds?: string | number | import("long").Long | undefined; nanos?: number | undefined; } & { seconds?: string | number | (import("long").Long & { high: number; low: number; unsigned: boolean; add: (addend: string | number | import("long").Long) => import("long").Long; and: (other: string | number | import("long").Long) => import("long").Long; compare: (other: string | number | import("long").Long) => number; comp: (other: string | number | import("long").Long) => number; divide: (divisor: string | number | import("long").Long) => import("long").Long; div: (divisor: string | number | import("long").Long) => import("long").Long; equals: (other: string | number | import("long").Long) => boolean; eq: (other: string | number | import("long").Long) => boolean; getHighBits: () => number; getHighBitsUnsigned: () => number; getLowBits: () => number; getLowBitsUnsigned: () => number; getNumBitsAbs: () => number; greaterThan: (other: string | number | import("long").Long) => boolean; gt: (other: string | number | import("long").Long) => boolean; greaterThanOrEqual: (other: string | number | import("long").Long) => boolean; gte: (other: string | number | import("long").Long) => boolean; isEven: () => boolean; isNegative: () => boolean; isOdd: () => boolean; isPositive: () => boolean; isZero: () => boolean; lessThan: (other: string | number | import("long").Long) => boolean; lt: (other: string | number | import("long").Long) => boolean; lessThanOrEqual: (other: string | number | import("long").Long) => boolean; lte: (other: string | number | import("long").Long) => boolean; modulo: (other: string | number | import("long").Long) => import("long").Long; mod: (other: string | number | import("long").Long) => import("long").Long; multiply: (multiplier: string | number | import("long").Long) => import("long").Long; mul: (multiplier: string | number | import("long").Long) => import("long").Long; negate: () => import("long").Long; neg: () => import("long").Long; not: () => import("long").Long; notEquals: (other: string | number | import("long").Long) => boolean; neq: (other: string | number | import("long").Long) => boolean; or: (other: string | number | import("long").Long) => import("long").Long; shiftLeft: (numBits: number | import("long").Long) => import("long").Long; shl: (numBits: number | import("long").Long) => import("long").Long; shiftRight: (numBits: number | import("long").Long) => import("long").Long; shr: (numBits: number | import("long").Long) => import("long").Long; shiftRightUnsigned: (numBits: number | import("long").Long) => import("long").Long; shru: (numBits: number | import("long").Long) => import("long").Long; subtract: (subtrahend: string | number | import("long").Long) => import("long").Long; sub: (subtrahend: string | number | import("long").Long) => import("long").Long; toInt: () => number; toNumber: () => number; toBytes: (le?: boolean | undefined) => number[]; toBytesLE: () => number[]; toBytesBE: () => number[]; toSigned: () => import("long").Long; toString: (radix?: number | undefined) => string; toUnsigned: () => import("long").Long; xor: (other: string | number | import("long").Long) => import("long").Long; } & Record, never>) | undefined; nanos?: number | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): Grant; fromSDK(object: GrantSDKType): Grant; toSDK(message: Grant): GrantSDKType; }; export declare const GrantAuthorization: { encode(message: GrantAuthorization, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GrantAuthorization; fromJSON(object: any): GrantAuthorization; toJSON(message: GrantAuthorization): unknown; fromPartial, never>) | undefined; expiration?: ({ seconds?: string | number | import("long").Long | undefined; nanos?: number | undefined; } & { seconds?: string | number | (import("long").Long & { high: number; low: number; unsigned: boolean; add: (addend: string | number | import("long").Long) => import("long").Long; and: (other: string | number | import("long").Long) => import("long").Long; compare: (other: string | number | import("long").Long) => number; comp: (other: string | number | import("long").Long) => number; divide: (divisor: string | number | import("long").Long) => import("long").Long; div: (divisor: string | number | import("long").Long) => import("long").Long; equals: (other: string | number | import("long").Long) => boolean; eq: (other: string | number | import("long").Long) => boolean; getHighBits: () => number; getHighBitsUnsigned: () => number; getLowBits: () => number; getLowBitsUnsigned: () => number; getNumBitsAbs: () => number; greaterThan: (other: string | number | import("long").Long) => boolean; gt: (other: string | number | import("long").Long) => boolean; greaterThanOrEqual: (other: string | number | import("long").Long) => boolean; gte: (other: string | number | import("long").Long) => boolean; isEven: () => boolean; isNegative: () => boolean; isOdd: () => boolean; isPositive: () => boolean; isZero: () => boolean; lessThan: (other: string | number | import("long").Long) => boolean; lt: (other: string | number | import("long").Long) => boolean; lessThanOrEqual: (other: string | number | import("long").Long) => boolean; lte: (other: string | number | import("long").Long) => boolean; modulo: (other: string | number | import("long").Long) => import("long").Long; mod: (other: string | number | import("long").Long) => import("long").Long; multiply: (multiplier: string | number | import("long").Long) => import("long").Long; mul: (multiplier: string | number | import("long").Long) => import("long").Long; negate: () => import("long").Long; neg: () => import("long").Long; not: () => import("long").Long; notEquals: (other: string | number | import("long").Long) => boolean; neq: (other: string | number | import("long").Long) => boolean; or: (other: string | number | import("long").Long) => import("long").Long; shiftLeft: (numBits: number | import("long").Long) => import("long").Long; shl: (numBits: number | import("long").Long) => import("long").Long; shiftRight: (numBits: number | import("long").Long) => import("long").Long; shr: (numBits: number | import("long").Long) => import("long").Long; shiftRightUnsigned: (numBits: number | import("long").Long) => import("long").Long; shru: (numBits: number | import("long").Long) => import("long").Long; subtract: (subtrahend: string | number | import("long").Long) => import("long").Long; sub: (subtrahend: string | number | import("long").Long) => import("long").Long; toInt: () => number; toNumber: () => number; toBytes: (le?: boolean | undefined) => number[]; toBytesLE: () => number[]; toBytesBE: () => number[]; toSigned: () => import("long").Long; toString: (radix?: number | undefined) => string; toUnsigned: () => import("long").Long; xor: (other: string | number | import("long").Long) => import("long").Long; } & Record, never>) | undefined; nanos?: number | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): GrantAuthorization; fromSDK(object: GrantAuthorizationSDKType): GrantAuthorization; toSDK(message: GrantAuthorization): GrantAuthorizationSDKType; }; export declare const GrantQueueItem: { encode(message: GrantQueueItem, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GrantQueueItem; fromJSON(object: any): GrantQueueItem; toJSON(message: GrantQueueItem): unknown; fromPartial, never>) | undefined; } & Record, never>>(object: I): GrantQueueItem; fromSDK(object: GrantQueueItemSDKType): GrantQueueItem; toSDK(message: GrantQueueItem): GrantQueueItemSDKType; };