import { Connection } from './connection'; interface TendermintConnection { type: 'tendermint'; url: string; } /** * Options to pass into the StargazeApi constructor. */ export interface StargazeApiOptions { connection: TendermintConnection; } /** * The main entry point for interacting with the Regen Ledger. The class needs * a client connection */ export declare class StargazeApi { readonly connection: Connection; constructor(connection: Connection); /** * Create a StargazeApi object which connects to the gRPC and Tendermint * endpoints. * * @param options - Options to pass into StargazeApi. */ static connect(options: StargazeApiOptions): Promise; } export {};