@junobuild/admin
Version:
A library for interfacing with admin features of Juno
11 lines (10 loc) • 530 B
TypeScript
import type { SatelliteDid, SatelliteParameters } from '@junobuild/ic-client/actor';
/**
* Retrieves the stable and heap memory size of a satellite.
* @param {Object} params - The parameters for retrieving the memory size.
* @param {SatelliteParameters} params.satellite - The satellite parameters.
* @returns {Promise<MemorySize>} A promise that resolves to the memory size of the satellite.
*/
export declare const satelliteMemorySize: (params: {
satellite: SatelliteParameters;
}) => Promise<SatelliteDid.MemorySize>;