/** Chip identifier (e.g. "esp32c3", "esp32c6"). Not hardcoded — any chip with a matching firmware release asset will work. */ export type Chip = string; export type ResolveFromOptions = { from: string; chip?: Chip; board?: string; onProgress?: (message: string) => void; }; /** * Resolve firmware from a `--from` reference. * * Resolution order: * 1. URL (http/https) → download directly * 2. Contains `/` → external repo (user/repo or user/repo@ref) * 3. Starts with `v` + digit → release tag on mikrojs/mikro (fallback to Actions) * 4. Everything else → resolve as ref (branch/tag/SHA) on mikrojs/mikro via Actions * * Note: for mikrojs/mikro, versioned firmware (vX.Y.Z) is bundled in the * @mikrojs/firmware npm package and used by the default flash path. The * release-asset code path here is exercised by external repos that ship * firmware tarballs as GitHub Release assets. */ export declare function resolveFrom(options: ResolveFromOptions): Promise; //# sourceMappingURL=firmware.d.ts.map