import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Any, Message, proto3 } from "@bufbuild/protobuf"; import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination_pb.js"; import { BaseAccount, Params } from "./auth_pb.js"; /** * QueryAccountsRequest is the request type for the Query/Accounts RPC method. * * Since: cosmos-sdk 0.43 * * @generated from message cosmos.auth.v1beta1.QueryAccountsRequest */ export declare class QueryAccountsRequest extends Message { /** * pagination defines an optional pagination for the request. * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 1; */ pagination?: PageRequest; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAccountsRequest; static equals(a: QueryAccountsRequest | PlainMessage | undefined, b: QueryAccountsRequest | PlainMessage | undefined): boolean; } /** * QueryAccountsResponse is the response type for the Query/Accounts RPC method. * * Since: cosmos-sdk 0.43 * * @generated from message cosmos.auth.v1beta1.QueryAccountsResponse */ export declare class QueryAccountsResponse extends Message { /** * accounts are the existing accounts * * @generated from field: repeated google.protobuf.Any accounts = 1; */ accounts: Any[]; /** * pagination defines the pagination in 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.auth.v1beta1.QueryAccountsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAccountsResponse; static equals(a: QueryAccountsResponse | PlainMessage | undefined, b: QueryAccountsResponse | PlainMessage | undefined): boolean; } /** * QueryAccountRequest is the request type for the Query/Account RPC method. * * @generated from message cosmos.auth.v1beta1.QueryAccountRequest */ export declare class QueryAccountRequest extends Message { /** * address defines the address to query for. * * @generated from field: string address = 1; */ address: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAccountRequest; static equals(a: QueryAccountRequest | PlainMessage | undefined, b: QueryAccountRequest | PlainMessage | undefined): boolean; } /** * QueryAccountResponse is the response type for the Query/Account RPC method. * * @generated from message cosmos.auth.v1beta1.QueryAccountResponse */ export declare class QueryAccountResponse extends Message { /** * account defines the account of the corresponding address. * * @generated from field: google.protobuf.Any account = 1; */ account?: Any; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAccountResponse; static equals(a: QueryAccountResponse | PlainMessage | undefined, b: QueryAccountResponse | PlainMessage | undefined): boolean; } /** * QueryParamsRequest is the request type for the Query/Params RPC method. * * @generated from message cosmos.auth.v1beta1.QueryParamsRequest */ export declare class QueryParamsRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryParamsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest; static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean; } /** * QueryParamsResponse is the response type for the Query/Params RPC method. * * @generated from message cosmos.auth.v1beta1.QueryParamsResponse */ export declare class QueryParamsResponse extends Message { /** * params defines the parameters of the module. * * @generated from field: cosmos.auth.v1beta1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryParamsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse; static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean; } /** * QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.QueryModuleAccountsRequest */ export declare class QueryModuleAccountsRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryModuleAccountsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryModuleAccountsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryModuleAccountsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryModuleAccountsRequest; static equals(a: QueryModuleAccountsRequest | PlainMessage | undefined, b: QueryModuleAccountsRequest | PlainMessage | undefined): boolean; } /** * QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.QueryModuleAccountsResponse */ export declare class QueryModuleAccountsResponse extends Message { /** * @generated from field: repeated google.protobuf.Any accounts = 1; */ accounts: Any[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryModuleAccountsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryModuleAccountsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryModuleAccountsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryModuleAccountsResponse; static equals(a: QueryModuleAccountsResponse | PlainMessage | undefined, b: QueryModuleAccountsResponse | PlainMessage | undefined): boolean; } /** * QueryModuleAccountByNameRequest is the request type for the Query/ModuleAccountByName RPC method. * * @generated from message cosmos.auth.v1beta1.QueryModuleAccountByNameRequest */ export declare class QueryModuleAccountByNameRequest extends Message { /** * @generated from field: string name = 1; */ name: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryModuleAccountByNameRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryModuleAccountByNameRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryModuleAccountByNameRequest; static fromJsonString(jsonString: string, options?: Partial): QueryModuleAccountByNameRequest; static equals(a: QueryModuleAccountByNameRequest | PlainMessage | undefined, b: QueryModuleAccountByNameRequest | PlainMessage | undefined): boolean; } /** * QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. * * @generated from message cosmos.auth.v1beta1.QueryModuleAccountByNameResponse */ export declare class QueryModuleAccountByNameResponse extends Message { /** * @generated from field: google.protobuf.Any account = 1; */ account?: Any; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryModuleAccountByNameResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryModuleAccountByNameResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryModuleAccountByNameResponse; static fromJsonString(jsonString: string, options?: Partial): QueryModuleAccountByNameResponse; static equals(a: QueryModuleAccountByNameResponse | PlainMessage | undefined, b: QueryModuleAccountByNameResponse | PlainMessage | undefined): boolean; } /** * Bech32PrefixRequest is the request type for Bech32Prefix rpc method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.Bech32PrefixRequest */ export declare class Bech32PrefixRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.Bech32PrefixRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Bech32PrefixRequest; static fromJson(jsonValue: JsonValue, options?: Partial): Bech32PrefixRequest; static fromJsonString(jsonString: string, options?: Partial): Bech32PrefixRequest; static equals(a: Bech32PrefixRequest | PlainMessage | undefined, b: Bech32PrefixRequest | PlainMessage | undefined): boolean; } /** * Bech32PrefixResponse is the response type for Bech32Prefix rpc method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.Bech32PrefixResponse */ export declare class Bech32PrefixResponse extends Message { /** * @generated from field: string bech32_prefix = 1; */ bech32Prefix: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.Bech32PrefixResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Bech32PrefixResponse; static fromJson(jsonValue: JsonValue, options?: Partial): Bech32PrefixResponse; static fromJsonString(jsonString: string, options?: Partial): Bech32PrefixResponse; static equals(a: Bech32PrefixResponse | PlainMessage | undefined, b: Bech32PrefixResponse | PlainMessage | undefined): boolean; } /** * AddressBytesToStringRequest is the request type for AddressString rpc method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.AddressBytesToStringRequest */ export declare class AddressBytesToStringRequest extends Message { /** * @generated from field: bytes address_bytes = 1; */ addressBytes: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.AddressBytesToStringRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AddressBytesToStringRequest; static fromJson(jsonValue: JsonValue, options?: Partial): AddressBytesToStringRequest; static fromJsonString(jsonString: string, options?: Partial): AddressBytesToStringRequest; static equals(a: AddressBytesToStringRequest | PlainMessage | undefined, b: AddressBytesToStringRequest | PlainMessage | undefined): boolean; } /** * AddressBytesToStringResponse is the response type for AddressString rpc method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.AddressBytesToStringResponse */ export declare class AddressBytesToStringResponse extends Message { /** * @generated from field: string address_string = 1; */ addressString: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.AddressBytesToStringResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AddressBytesToStringResponse; static fromJson(jsonValue: JsonValue, options?: Partial): AddressBytesToStringResponse; static fromJsonString(jsonString: string, options?: Partial): AddressBytesToStringResponse; static equals(a: AddressBytesToStringResponse | PlainMessage | undefined, b: AddressBytesToStringResponse | PlainMessage | undefined): boolean; } /** * AddressStringToBytesRequest is the request type for AccountBytes rpc method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.AddressStringToBytesRequest */ export declare class AddressStringToBytesRequest extends Message { /** * @generated from field: string address_string = 1; */ addressString: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.AddressStringToBytesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AddressStringToBytesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): AddressStringToBytesRequest; static fromJsonString(jsonString: string, options?: Partial): AddressStringToBytesRequest; static equals(a: AddressStringToBytesRequest | PlainMessage | undefined, b: AddressStringToBytesRequest | PlainMessage | undefined): boolean; } /** * AddressStringToBytesResponse is the response type for AddressBytes rpc method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.AddressStringToBytesResponse */ export declare class AddressStringToBytesResponse extends Message { /** * @generated from field: bytes address_bytes = 1; */ addressBytes: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.AddressStringToBytesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AddressStringToBytesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): AddressStringToBytesResponse; static fromJsonString(jsonString: string, options?: Partial): AddressStringToBytesResponse; static equals(a: AddressStringToBytesResponse | PlainMessage | undefined, b: AddressStringToBytesResponse | PlainMessage | undefined): boolean; } /** * QueryAccountAddressByIDRequest is the request type for AccountAddressByID rpc method * * Since: cosmos-sdk 0.46.2 * * @generated from message cosmos.auth.v1beta1.QueryAccountAddressByIDRequest */ export declare class QueryAccountAddressByIDRequest extends Message { /** * Deprecated, use account_id instead * * id is the account number of the address to be queried. This field * should have been an uint64 (like all account numbers), and will be * updated to uint64 in a future version of the auth query. * * @generated from field: int64 id = 1 [deprecated = true]; * @deprecated */ id: bigint; /** * account_id is the account number of the address to be queried. * * Since: cosmos-sdk 0.47 * * @generated from field: uint64 account_id = 2; */ accountId: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountAddressByIDRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountAddressByIDRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountAddressByIDRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAccountAddressByIDRequest; static equals(a: QueryAccountAddressByIDRequest | PlainMessage | undefined, b: QueryAccountAddressByIDRequest | PlainMessage | undefined): boolean; } /** * QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method * * Since: cosmos-sdk 0.46.2 * * @generated from message cosmos.auth.v1beta1.QueryAccountAddressByIDResponse */ export declare class QueryAccountAddressByIDResponse extends Message { /** * @generated from field: string account_address = 1; */ accountAddress: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountAddressByIDResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountAddressByIDResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountAddressByIDResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAccountAddressByIDResponse; static equals(a: QueryAccountAddressByIDResponse | PlainMessage | undefined, b: QueryAccountAddressByIDResponse | PlainMessage | undefined): boolean; } /** * QueryAccountInfoRequest is the Query/AccountInfo request type. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.auth.v1beta1.QueryAccountInfoRequest */ export declare class QueryAccountInfoRequest extends Message { /** * address is the account address string. * * @generated from field: string address = 1; */ address: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountInfoRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountInfoRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountInfoRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAccountInfoRequest; static equals(a: QueryAccountInfoRequest | PlainMessage | undefined, b: QueryAccountInfoRequest | PlainMessage | undefined): boolean; } /** * QueryAccountInfoResponse is the Query/AccountInfo response type. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.auth.v1beta1.QueryAccountInfoResponse */ export declare class QueryAccountInfoResponse extends Message { /** * info is the account info which is represented by BaseAccount. * * @generated from field: cosmos.auth.v1beta1.BaseAccount info = 1; */ info?: BaseAccount; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountInfoResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountInfoResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountInfoResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAccountInfoResponse; static equals(a: QueryAccountInfoResponse | PlainMessage | undefined, b: QueryAccountInfoResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=query_pb.d.ts.map