export interface ProtobufAny { "@type"?: string; } export interface RpcStatus { /** @format int32 */ code?: number; message?: string; details?: ProtobufAny[]; } /** * Params defines the set of on-chain interchain accounts parameters. The following parameters may be used to disable the host submodule. */ export interface V1Params { /** host_enabled enables or disables the host submodule. */ host_enabled?: boolean; /** allow_messages defines a list of sdk message typeURLs allowed to be executed on a host chain. */ allow_messages?: string[]; } /** * QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface V1QueryParamsResponse { /** params defines the parameters of the module. */ params?: V1Params; } import { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios"; export declare type QueryParamsType = Record; export interface FullRequestParams extends Omit { /** set parameter to `true` for call `securityWorker` for this request */ secure?: boolean; /** request path */ path: string; /** content type of request body */ type?: ContentType; /** query params */ query?: QueryParamsType; /** format of response (i.e. response.json() -> format: "json") */ format?: ResponseType; /** request body */ body?: unknown; } export declare type RequestParams = Omit; export interface ApiConfig extends Omit { securityWorker?: (securityData: SecurityDataType | null) => Promise | AxiosRequestConfig | void; secure?: boolean; format?: ResponseType; } export declare enum ContentType { Json = "application/json", FormData = "multipart/form-data", UrlEncoded = "application/x-www-form-urlencoded" } export declare class HttpClient { instance: AxiosInstance; private securityData; private securityWorker?; private secure?; private format?; constructor({ securityWorker, secure, format, ...axiosConfig }?: ApiConfig); setSecurityData: (data: SecurityDataType | null) => void; private mergeRequestParams; private createFormData; request: ({ secure, path, type, query, format, body, ...params }: FullRequestParams) => Promise>; } /** * @title ibc/applications/interchain_accounts/host/v1/host.proto * @version version not set */ export declare class Api extends HttpClient { /** * No description * * @tags Query * @name QueryParams * @summary Params queries all parameters of the ICA host submodule. * @request GET:/ibc/apps/interchain_accounts/host/v1/params */ queryParams: (params?: RequestParams) => Promise>; }