export type PluginHelp = { summary: string; settings?: Record; }; export type PluginManifest = { id: string; version: string; runtime: 'node'; gateway: string; hooks?: Record; settings?: { schema: Record; defaults?: Record; }; help: Record; }; export declare class PluginPackageError extends Error { readonly code: string; constructor(code: string, message: string); } export declare const validateManifest: (raw: unknown) => PluginManifest; export declare const isCompatible: (manifest: Pick, gatewayVersion: string) => boolean;