import type { CreateSandboxOptions } from "@tangle-network/sandbox"; import type { ResourceRequest } from "@tangle-network/agent-interface/environment-provider"; import type { ResourceProfile } from "@tangle-network/agent-interface"; /** * Translate the contract's resource request into the Sandbox request shape. * * The two shapes name the same quantities differently — `cpu`/`memoryMb`/ * `diskMb` against `cpuCores`/`memoryMB`/`diskGB` — so a request passed * through unchanged reaches the service as unknown fields and provisions a * sandbox the caller never asked for. Disk is stated in gibibytes on the wire, * and a request that is not a whole number of gibibytes is refused instead of * being rounded to a size the caller did not name. */ export declare function sandboxResourcesFromResourceRequest(resources: ResourceRequest | undefined): CreateSandboxOptions["resources"] | undefined; /** * The compute shape the caller asked for, in the observation's units. * * This is the request, never a measurement, so it carries no freshness state: * the contract holds it beside the freshness-tagged effective profile so the * two can be compared. */ export declare function requestedResourceProfile(resources: ResourceRequest | undefined): ResourceProfile | undefined;