import type { SetupIssue, SkillsPin } from "@cargo-ai/cdk/cli"; import { isSignedIn, readSkillsPin } from "@cargo-ai/cdk/cli"; export type { SkillsPin }; export { isSignedIn, readSkillsPin }; export type SetupIssueInput = { currentVersion: string; /** * A version from the update cache (or a live fetch). Passing one opts this * caller in to reporting an outdated CLI, so the version sits with the * other setup issues rather than as a footer after the command. The * palette and the pre-command header pass the cache; `doctor` fetches live. */ latestVersion?: string; }; /** * The two facts this reads off the machine. Injected so the rules — which side * of a pin mismatch to update, when an outdated CLI is this line's business at * all — can be tested without a home directory. */ export type SetupIssueDeps = { isSignedIn: () => boolean; readSkillsPin: () => SkillsPin | undefined; }; export declare function collectSetupIssues(input: SetupIssueInput, deps?: SetupIssueDeps): SetupIssue[]; //# sourceMappingURL=setupIssues.d.ts.map