import { Command } from "commander"; /** * Creates the `skaile update` command. * * Two stages: * 1. **Catalog cache refresh** — invalidates the {@link RemoteCatalogSource} * cache at `~/.skaile/cache/catalog/` and re-fetches the asset list. This * is the Phase 2 entry point for users in air-gapped mode * (`catalog.cache_ttl: 0`) or anyone who wants a fresh view of the public * skaile.store catalog before installing. * 2. **Asset re-deploy** — `AssetManager.install()` * re-deploys any outdated assets in the current project from updated * repositories. This is the Phase 1 behavior; preserved here. * * Pass `--no-catalog` to skip stage 1 (asset-only); pass `--catalog-only` to * skip stage 2 (catalog-only). The default runs both. * * Before re-deploy, `update` offers to **sync sources** from upstream (default * yes). Re-deploy resolves against the local source cache, which is frozen at * the commit captured when each source was first cloned — without a sync, * `update` can never see newer GitHub commits and always reports "Nothing to * update". Pass `--no-sync` to skip, `-y`/`--yes` to sync without the prompt; a * non-interactive shell defaults to syncing. * * @returns Configured {@link Command} ready for `program.addCommand()`. * @docLink cli/commands/misc#update */ export declare function makeUpdateCommand(): Command; //# sourceMappingURL=update.d.ts.map