import { CliOutputMode } from "../shared/outfitter-fhahf9f3.js"; import { Result } from "@outfitter/contracts"; declare const EXTERNAL_TEMPLATE_VERSION = "catalog:"; interface CheckPresetVersionsOptions { readonly cwd: string; } interface CheckPresetVersionsResult { readonly ok: boolean; readonly problems: readonly string[]; readonly workspaceRoot: string; } declare class CheckPresetVersionsError extends Error { readonly _tag: "CheckPresetVersionsError"; constructor(message: string); } declare function validatePresetDeps(workspaceRoot: string, resolvedVersions: Readonly>, problems: string[]): void; declare function runCheckPresetVersions(options: CheckPresetVersionsOptions): Promise>; declare function printCheckPresetVersionsResult(result: CheckPresetVersionsResult, options?: { mode?: CliOutputMode; }): Promise; declare function runCheckPresetVersionsFromArgv(argv: readonly string[]): Promise; export { validatePresetDeps, runCheckPresetVersionsFromArgv, runCheckPresetVersions, printCheckPresetVersionsResult, EXTERNAL_TEMPLATE_VERSION, CheckPresetVersionsResult, CheckPresetVersionsOptions, CheckPresetVersionsError };