import Premia from '../premia'; /** * BaseAPI is an abstract base class providing a common structure for all APIs in the system. * * All APIs extending this class can access the Premia contract via the 'premia' property. * * @property {Premia} premia - An instance of the Premia SDK. */ export declare abstract class BaseAPI { /** * The Premia SDK instance. */ readonly premia: Premia; /** * The current index of quote streams. Used to cancel stale streams. */ protected streamIndex: number; /** * Construct a new BaseAPI object. * @param {Premia} premia - An instance of the Premia SDK. */ constructor(premia: Premia); /** * Cancels all ongoing streams. * * @returns {Promise} */ cancelAllStreams(): Promise; }