import type { SophiaClawConfig } from "../config/config.js"; import type { GatewayRequestHandler } from "../gateway/server-methods/types.js"; import { type PluginRegistry } from "./registry.js"; import type { PluginLogger } from "./types.js"; export type PluginLoadResult = PluginRegistry; export type PluginLoadOptions = { config?: SophiaClawConfig; workspaceDir?: string; logger?: PluginLogger; coreGatewayHandlers?: Record; cache?: boolean; mode?: "full" | "validate"; }; export declare function loadSophiaClawPlugins(options?: PluginLoadOptions): PluginRegistry;