/**
 * OpenClaw compatibility adapter.
 *
 * Loads OpenClaw-format plugins (openclaw.plugin.json + index.ts using
 * definePluginEntry) and bridges them into Jait's plugin system.
 *
 * Supported:
 *  - Tool registration (registerTool) → Jait ToolDefinition
 *  - Plugin config passthrough
 *  - Scoped logging
 *
 * Unsupported registrations (channels, speech providers, CLI backends, etc.)
 * are silently captured so the plugin doesn't throw, but they are not wired
 * into Jait's runtime. They are logged at debug level.
 */
import type { PluginManifest as JaitManifest } from "./manifest.js";
import type { PluginModule } from "./contracts.js";
interface OpenClawManifest {
    id: string;
    name?: string;
    description?: string;
    version?: string;
    configSchema?: Record<string, unknown>;
    contracts?: {
        tools?: string[];
        webFetchProviders?: string[];
        webSearchProviders?: string[];
        [key: string]: unknown;
    };
    providers?: string[];
    channels?: string[];
    uiHints?: Record<string, unknown>;
    enabledByDefault?: boolean;
}
export declare function discoverOpenClawPlugins(extensionsDir: string): Promise<{
    manifest: OpenClawManifest;
    dir: string;
}[]>;
export declare function openclawToJaitManifest(oc: OpenClawManifest, _dir: string): JaitManifest;
export declare function createOpenClawPluginModule(manifest: OpenClawManifest, dir: string): PluginModule;
export {};
//# sourceMappingURL=openclaw-adapter.d.ts.map