import { z } from "zod"; import { ASSET_TYPES, type IdeId } from "../constants/index.js"; export type { IdeId }; export type AssetType = (typeof ASSET_TYPES)[number]; export declare const AssetEntrySchema: z.ZodObject<{ id: z.ZodString; version: z.ZodDefault; description: z.ZodOptional; path: z.ZodOptional; tags: z.ZodOptional>; author: z.ZodOptional; downloads: z.ZodOptional; rating: z.ZodOptional; verified: z.ZodOptional; dependsOn: z.ZodOptional>; changelog: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; version: string; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }, { id: string; version?: string | undefined; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }>; export type AssetEntry = z.infer; export declare const PresetEntrySchema: z.ZodObject<{ id: z.ZodString; version: z.ZodDefault; description: z.ZodOptional; path: z.ZodOptional; tags: z.ZodOptional>; author: z.ZodOptional; downloads: z.ZodOptional; rating: z.ZodOptional; verified: z.ZodOptional; dependsOn: z.ZodOptional>; changelog: z.ZodOptional; updatedAt: z.ZodOptional; } & { includes: z.ZodDefault>; rules: z.ZodOptional>; prompts: z.ZodOptional>; mcp: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mcp?: string[] | undefined; skills?: string[] | undefined; rules?: string[] | undefined; prompts?: string[] | undefined; }, { mcp?: string[] | undefined; skills?: string[] | undefined; rules?: string[] | undefined; prompts?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { id: string; version: string; includes: { mcp?: string[] | undefined; skills?: string[] | undefined; rules?: string[] | undefined; prompts?: string[] | undefined; }; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }, { id: string; version?: string | undefined; description?: string | undefined; path?: string | undefined; includes?: { mcp?: string[] | undefined; skills?: string[] | undefined; rules?: string[] | undefined; prompts?: string[] | undefined; } | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }>; export type PresetEntry = z.infer; export declare const ManifestSchema: z.ZodObject<{ name: z.ZodString; version: z.ZodString; description: z.ZodOptional; author: z.ZodOptional; homepage: z.ZodOptional; skills: z.ZodDefault; description: z.ZodOptional; path: z.ZodOptional; tags: z.ZodOptional>; author: z.ZodOptional; downloads: z.ZodOptional; rating: z.ZodOptional; verified: z.ZodOptional; dependsOn: z.ZodOptional>; changelog: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; version: string; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }, { id: string; version?: string | undefined; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }>, "many">>; rules: z.ZodDefault; description: z.ZodOptional; path: z.ZodOptional; tags: z.ZodOptional>; author: z.ZodOptional; downloads: z.ZodOptional; rating: z.ZodOptional; verified: z.ZodOptional; dependsOn: z.ZodOptional>; changelog: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; version: string; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }, { id: string; version?: string | undefined; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }>, "many">>; prompts: z.ZodDefault; description: z.ZodOptional; path: z.ZodOptional; tags: z.ZodOptional>; author: z.ZodOptional; downloads: z.ZodOptional; rating: z.ZodOptional; verified: z.ZodOptional; dependsOn: z.ZodOptional>; changelog: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; version: string; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }, { id: string; version?: string | undefined; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }>, "many">>; mcp: z.ZodDefault; description: z.ZodOptional; path: z.ZodOptional; tags: z.ZodOptional>; author: z.ZodOptional; downloads: z.ZodOptional; rating: z.ZodOptional; verified: z.ZodOptional; dependsOn: z.ZodOptional>; changelog: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; version: string; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }, { id: string; version?: string | undefined; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }>, "many">>; presets: z.ZodDefault; description: z.ZodOptional; path: z.ZodOptional; tags: z.ZodOptional>; author: z.ZodOptional; downloads: z.ZodOptional; rating: z.ZodOptional; verified: z.ZodOptional; dependsOn: z.ZodOptional>; changelog: z.ZodOptional; updatedAt: z.ZodOptional; } & { includes: z.ZodDefault>; rules: z.ZodOptional>; prompts: z.ZodOptional>; mcp: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mcp?: string[] | undefined; skills?: string[] | undefined; rules?: string[] | undefined; prompts?: string[] | undefined; }, { mcp?: string[] | undefined; skills?: string[] | undefined; rules?: string[] | undefined; prompts?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { id: string; version: string; includes: { mcp?: string[] | undefined; skills?: string[] | undefined; rules?: string[] | undefined; prompts?: string[] | undefined; }; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }, { id: string; version?: string | undefined; description?: string | undefined; path?: string | undefined; includes?: { mcp?: string[] | undefined; skills?: string[] | undefined; rules?: string[] | undefined; prompts?: string[] | undefined; } | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { mcp: { id: string; version: string; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }[]; skills: { id: string; version: string; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }[]; rules: { id: string; version: string; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }[]; prompts: { id: string; version: string; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }[]; presets: { id: string; version: string; includes: { mcp?: string[] | undefined; skills?: string[] | undefined; rules?: string[] | undefined; prompts?: string[] | undefined; }; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }[]; version: string; name: string; description?: string | undefined; author?: string | undefined; homepage?: string | undefined; }, { version: string; name: string; mcp?: { id: string; version?: string | undefined; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }[] | undefined; skills?: { id: string; version?: string | undefined; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }[] | undefined; rules?: { id: string; version?: string | undefined; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }[] | undefined; prompts?: { id: string; version?: string | undefined; description?: string | undefined; path?: string | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }[] | undefined; presets?: { id: string; version?: string | undefined; description?: string | undefined; path?: string | undefined; includes?: { mcp?: string[] | undefined; skills?: string[] | undefined; rules?: string[] | undefined; prompts?: string[] | undefined; } | undefined; tags?: string[] | undefined; author?: string | undefined; downloads?: number | undefined; rating?: number | undefined; verified?: boolean | undefined; dependsOn?: string[] | undefined; changelog?: string | undefined; updatedAt?: string | undefined; }[] | undefined; description?: string | undefined; author?: string | undefined; homepage?: string | undefined; }>; export type Manifest = z.infer; export declare const InstalledAssetSchema: z.ZodObject<{ type: z.ZodEnum<["skill", "rule", "prompt", "mcp", "preset"]>; id: z.ZodString; version: z.ZodString; installedAt: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; version: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; path?: string | undefined; installedAt?: string | undefined; }, { id: string; version: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; path?: string | undefined; installedAt?: string | undefined; }>; export type InstalledAsset = z.infer; export declare const NoahMetadataSchema: z.ZodObject<{ registry: z.ZodString; ide: z.ZodDefault>; installed: z.ZodDefault; id: z.ZodString; version: z.ZodString; installedAt: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; version: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; path?: string | undefined; installedAt?: string | undefined; }, { id: string; version: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; path?: string | undefined; installedAt?: string | undefined; }>, "many">>; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { registry: string; ide: "cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider"; installed: { id: string; version: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; path?: string | undefined; installedAt?: string | undefined; }[]; updatedAt?: string | undefined; }, { registry: string; updatedAt?: string | undefined; ide?: "cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider" | undefined; installed?: { id: string; version: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; path?: string | undefined; installedAt?: string | undefined; }[] | undefined; }>; export type NoahMetadata = z.infer; export declare const WorkspaceConfigSchema: z.ZodObject<{ $schema: z.ZodOptional; packages: z.ZodDefault>; ide: z.ZodOptional>; registry: z.ZodOptional; privateRegistry: z.ZodOptional; settings: z.ZodOptional>; }, "strip", z.ZodTypeAny, { packages: string[]; registry?: string | undefined; ide?: "cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider" | undefined; $schema?: string | undefined; privateRegistry?: string | undefined; settings?: Record | undefined; }, { registry?: string | undefined; ide?: "cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider" | undefined; $schema?: string | undefined; packages?: string[] | undefined; privateRegistry?: string | undefined; settings?: Record | undefined; }>; export type WorkspaceConfig = z.infer; export declare const LockfileSchema: z.ZodObject<{ version: z.ZodDefault>; packages: z.ZodArray; id: z.ZodString; version: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; version: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; }, { id: string; version: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; }>, "many">; ide: z.ZodOptional>; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { version: 1; packages: { id: string; version: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; }[]; updatedAt?: string | undefined; ide?: "cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider" | undefined; }, { packages: { id: string; version: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; }[]; version?: 1 | undefined; updatedAt?: string | undefined; ide?: "cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider" | undefined; }>; export type Lockfile = z.infer; export declare const RecentEntrySchema: z.ZodObject<{ type: z.ZodEnum<["skill", "rule", "prompt", "mcp", "preset"]>; id: z.ZodString; action: z.ZodEnum<["installed", "viewed", "updated"]>; at: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; at: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; action: "installed" | "viewed" | "updated"; }, { id: string; at: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; action: "installed" | "viewed" | "updated"; }>; export type RecentEntry = z.infer; export declare const FavoriteEntrySchema: z.ZodObject<{ type: z.ZodEnum<["skill", "rule", "prompt", "mcp", "preset"]>; id: z.ZodString; addedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; addedAt: string; }, { id: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; addedAt: string; }>; export type FavoriteEntry = z.infer; export declare const UserStoreSchema: z.ZodObject<{ favorites: z.ZodDefault; id: z.ZodString; addedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; addedAt: string; }, { id: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; addedAt: string; }>, "many">>; recent: z.ZodDefault; id: z.ZodString; action: z.ZodEnum<["installed", "viewed", "updated"]>; at: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; at: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; action: "installed" | "viewed" | "updated"; }, { id: string; at: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; action: "installed" | "viewed" | "updated"; }>, "many">>; settings: z.ZodDefault>; privateRegistry: z.ZodOptional; analytics: z.ZodOptional; plugins: z.ZodOptional>; }, "strip", z.ZodTypeAny, { privateRegistry?: string | undefined; defaultIde?: "cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider" | undefined; analytics?: boolean | undefined; plugins?: string[] | undefined; }, { privateRegistry?: string | undefined; defaultIde?: "cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider" | undefined; analytics?: boolean | undefined; plugins?: string[] | undefined; }>>; auth: z.ZodOptional; username: z.ZodOptional; loggedInAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { token?: string | undefined; username?: string | undefined; loggedInAt?: string | undefined; }, { token?: string | undefined; username?: string | undefined; loggedInAt?: string | undefined; }>>; undoStack: z.ZodDefault; type: z.ZodEnum<["skill", "rule", "prompt", "mcp", "preset"]>; id: z.ZodString; ide: z.ZodEnum<["cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider", ...("cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider")[]]>; at: z.ZodString; snapshotPath: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; at: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; ide: "cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider"; action: "install" | "uninstall"; snapshotPath?: string | undefined; }, { id: string; at: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; ide: "cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider"; action: "install" | "uninstall"; snapshotPath?: string | undefined; }>, "many">>; auditLog: z.ZodDefault; }, "strip", z.ZodTypeAny, { at: string; action: string; detail?: string | undefined; }, { at: string; action: string; detail?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { settings: { privateRegistry?: string | undefined; defaultIde?: "cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider" | undefined; analytics?: boolean | undefined; plugins?: string[] | undefined; }; favorites: { id: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; addedAt: string; }[]; recent: { id: string; at: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; action: "installed" | "viewed" | "updated"; }[]; undoStack: { id: string; at: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; ide: "cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider"; action: "install" | "uninstall"; snapshotPath?: string | undefined; }[]; auditLog: { at: string; action: string; detail?: string | undefined; }[]; auth?: { token?: string | undefined; username?: string | undefined; loggedInAt?: string | undefined; } | undefined; }, { settings?: { privateRegistry?: string | undefined; defaultIde?: "cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider" | undefined; analytics?: boolean | undefined; plugins?: string[] | undefined; } | undefined; favorites?: { id: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; addedAt: string; }[] | undefined; recent?: { id: string; at: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; action: "installed" | "viewed" | "updated"; }[] | undefined; auth?: { token?: string | undefined; username?: string | undefined; loggedInAt?: string | undefined; } | undefined; undoStack?: { id: string; at: string; type: "skill" | "rule" | "prompt" | "mcp" | "preset"; ide: "cursor" | "windsurf" | "claude-code" | "continue" | "vscode" | "cline" | "gemini" | "codex" | "roo" | "aider"; action: "install" | "uninstall"; snapshotPath?: string | undefined; }[] | undefined; auditLog?: { at: string; action: string; detail?: string | undefined; }[] | undefined; }>; export type UserStore = z.infer; export interface AddOptions { skill?: string; rule?: string; prompt?: string; mcp?: string; preset?: string; all?: boolean; force?: boolean; dryRun?: boolean; yes?: boolean; verbose?: boolean; ide?: IdeId; } export interface GlobalOptions { verbose?: boolean; yes?: boolean; } export interface AssetRequest { type: AssetType; id: string; version?: string; } export interface InstallResult { type: AssetType; id: string; version: string; path: string; skipped?: boolean; reason?: string; } export interface DoctorCheck { name: string; status: "pass" | "warn" | "fail"; message: string; } export interface SearchResult { type: AssetType; id: string; version: string; description?: string; tags?: string[]; author?: string; downloads?: number; rating?: number; verified?: boolean; dependsOn?: string[]; changelog?: string; updatedAt?: string; score?: number; } export interface ProjectStack { frameworks: string[]; languages: string[]; tools: string[]; packageManagers: string[]; } export interface HealthScores { architecture: number; security: number; documentation: number; testing: number; overall: number; } export interface ProjectAnalysis { stack: ProjectStack; health: HealthScores; missing: string[]; recommendations: SearchResult[]; } //# sourceMappingURL=index.d.ts.map