UNPKG

@junobuild/admin

Version:

A library for interfacing with admin features of Juno

12 lines (11 loc) 575 B
import type { MemorySize } from '../../declarations/satellite/satellite.did'; import type { SatelliteParameters } from '../types/actor.types'; /** * 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<MemorySize>;