import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Grant } from "./feegrant_pb.js"; import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination_pb.js"; /** * QueryAllowanceRequest is the request type for the Query/Allowance RPC method. * * @generated from message cosmos.feegrant.v1beta1.QueryAllowanceRequest */ export declare class QueryAllowanceRequest extends Message { /** * granter is the address of the user granting an allowance of their funds. * * @generated from field: string granter = 1; */ granter: string; /** * grantee is the address of the user being granted an allowance of another user's funds. * * @generated from field: string grantee = 2; */ grantee: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.feegrant.v1beta1.QueryAllowanceRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAllowanceRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAllowanceRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAllowanceRequest; static equals(a: QueryAllowanceRequest | PlainMessage | undefined, b: QueryAllowanceRequest | PlainMessage | undefined): boolean; } /** * QueryAllowanceResponse is the response type for the Query/Allowance RPC method. * * @generated from message cosmos.feegrant.v1beta1.QueryAllowanceResponse */ export declare class QueryAllowanceResponse extends Message { /** * allowance is a allowance granted for grantee by granter. * * @generated from field: cosmos.feegrant.v1beta1.Grant allowance = 1; */ allowance?: Grant; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.feegrant.v1beta1.QueryAllowanceResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAllowanceResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAllowanceResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAllowanceResponse; static equals(a: QueryAllowanceResponse | PlainMessage | undefined, b: QueryAllowanceResponse | PlainMessage | undefined): boolean; } /** * QueryAllowancesRequest is the request type for the Query/Allowances RPC method. * * @generated from message cosmos.feegrant.v1beta1.QueryAllowancesRequest */ export declare class QueryAllowancesRequest extends Message { /** * @generated from field: string grantee = 1; */ grantee: string; /** * pagination defines an pagination for the request. * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 2; */ pagination?: PageRequest; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.feegrant.v1beta1.QueryAllowancesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAllowancesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAllowancesRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAllowancesRequest; static equals(a: QueryAllowancesRequest | PlainMessage | undefined, b: QueryAllowancesRequest | PlainMessage | undefined): boolean; } /** * QueryAllowancesResponse is the response type for the Query/Allowances RPC method. * * @generated from message cosmos.feegrant.v1beta1.QueryAllowancesResponse */ export declare class QueryAllowancesResponse extends Message { /** * allowances are allowance's granted for grantee by granter. * * @generated from field: repeated cosmos.feegrant.v1beta1.Grant allowances = 1; */ allowances: Grant[]; /** * pagination defines an pagination for the response. * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.feegrant.v1beta1.QueryAllowancesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAllowancesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAllowancesResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAllowancesResponse; static equals(a: QueryAllowancesResponse | PlainMessage | undefined, b: QueryAllowancesResponse | PlainMessage | undefined): boolean; } /** * QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest */ export declare class QueryAllowancesByGranterRequest extends Message { /** * @generated from field: string granter = 1; */ granter: string; /** * pagination defines an pagination for the request. * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 2; */ pagination?: PageRequest; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAllowancesByGranterRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAllowancesByGranterRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAllowancesByGranterRequest; static equals(a: QueryAllowancesByGranterRequest | PlainMessage | undefined, b: QueryAllowancesByGranterRequest | PlainMessage | undefined): boolean; } /** * QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse */ export declare class QueryAllowancesByGranterResponse extends Message { /** * allowances that have been issued by the granter. * * @generated from field: repeated cosmos.feegrant.v1beta1.Grant allowances = 1; */ allowances: Grant[]; /** * pagination defines an pagination for the response. * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAllowancesByGranterResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAllowancesByGranterResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAllowancesByGranterResponse; static equals(a: QueryAllowancesByGranterResponse | PlainMessage | undefined, b: QueryAllowancesByGranterResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=query_pb.d.ts.map