import type { VlxInfo } from '@vltpkg/vlx'; import type { LoadedConfig } from '../config/index.ts'; import type { CommandFn, CommandUsage } from '../index.ts'; import type { ViewOptions, Views } from '../view.ts'; import { ViewClass } from '../view.ts'; export type ExecCacheSubcommands = keyof (typeof usageDef)['subcommands']; export declare class ExecCacheView extends ViewClass { constructor(options: ViewOptions, conf: LoadedConfig); stdout(...args: unknown[]): void; } export declare const views: Views; declare const usageDef: { readonly command: "exec-cache"; readonly usage: " [flags]"; readonly description: "Work with vlt exec-cache folders"; readonly subcommands: { readonly ls: { readonly usage: ""; readonly description: "Show previously installed packages used for `vlt exec`.\n Key provided can be either the package name, or the full\n key."; }; readonly delete: { readonly usage: "[...]"; readonly description: "Delete previously installed packages used for\n `vlt exec`. If no keys are provided, then all entries\n will be deleted."; }; readonly info: { readonly usage: ""; readonly description: "Show extended information about a given `vlt exec`\n installation."; }; readonly install: { readonly usage: "..."; readonly description: "Install the specified package(s) in the `vlt exec`\n central cache location. Metadata info about each\n installation will be printed."; }; }; readonly examples: { readonly ls: { readonly description: "Show all the keys for the installations in the `vlt exec`\n cache."; }; readonly 'delete typescript': { readonly description: "Delete all versions of typescript installed for vlt exec"; }; readonly 'info typescript-695bf962': { readonly description: "Show extended info about a specific version of typescript"; }; }; }; export declare const usage: CommandUsage; export declare const command: CommandFn; export {};