export type TrustTier = 'community' | 'verified' | 'featured'; export type MemoryLayer = 'WM' | 'SWM' | 'VM'; export type PublicInterface = 'http-api' | 'cli' | 'mcp'; export type InstallSpec = InstallCli | InstallMcp | InstallService | InstallAgentPlugin | InstallManual; export interface InstallCli { kind: 'cli'; package: string; version: string; binary: string; envRequired?: string[]; usageHint?: string; } export interface InstallMcp { kind: 'mcp'; command: string; args?: string[]; envRequired?: string[]; supportedClients?: string[]; usageHint?: string; } export interface InstallService { kind: 'service'; runtime: 'docker' | 'npm-global' | 'binary'; docker?: { image: string; version: string; digest?: string; composeUrl?: string; }; npmGlobal?: { package: string; version: string; binary?: string; }; binary?: { url: string; checksumSha256?: string; }; envRequired?: string[]; portsOpened?: number[]; usageHint?: string; } export interface InstallAgentPlugin { kind: 'agent-plugin'; framework: string; package: string; version: string; registrationHint?: string; usageHint?: string; } export interface InstallManual { kind: 'manual'; docsUrl: string; oneLiner?: string; usageHint?: string; } /** * THE definition of "an npm-global service this CLI can act on", returning the * trimmed payload or null. * * Lives here rather than in the installer because three unrelated callers need * it — the Commander dispatcher, the installer, and installed-detection — and * every time it has existed in only one of them the others have drifted: * the dispatcher once gated on truthiness while the installer trimmed (a * whitespace package reached a generic failure), and detection once probed npm * with the raw, untrimmed key (so a padded `" @acme/svc "` installed as * `@acme/svc` and then reported itself not installed). * * Checked by TYPE, not truthiness: a non-string `package` is truthy and would * otherwise reach the npm spec as `[object Object]@1.0.0`. */ export declare function resolveNpmGlobalService(install: InstallSpec): { package: string; version: string; } | null; export interface IntegrationEntry { slug: string; name: string; description: string; category?: string[]; maintainer: { github: string; name?: string; email?: string; }; repo: string; commit: string; license: string; schemaVersion?: string; requiresDkgNodeVersion?: string; memoryLayers: MemoryLayer[]; v10PrimitivesUsed: string[]; publicInterfacesUsed: PublicInterface[]; targetAgents?: string[]; install: InstallSpec; security: { networkEgress?: string[]; writeAuthority?: string[]; credentialsHandled?: string[]; notes?: string; }; trustTier: TrustTier; designBrief?: string; demo?: string; promotionPath?: string; fitNotes?: string; [extras: string]: any; } export declare function isIntegrationEntry(value: unknown): value is IntegrationEntry; //# sourceMappingURL=schema.d.ts.map