openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
21 lines • 987 B
TypeScript
import { $c as OpenClawPluginCommandDefinition } from "./config-contracts--zSNHFlu.js";
import { r as OpenClawConfig } from "./types.openclaw-A0y1x1SF.js";
type PluginCommandSpecOptions = {
env?: NodeJS.ProcessEnv;
stateDir?: string;
workspaceDir?: string;
config?: OpenClawConfig;
};
type PluginCommandSpec = ReturnType<typeof serializePluginCommandSpec>;
declare function getPluginCommandSpecs(provider?: string, options?: PluginCommandSpecOptions): PluginCommandSpec[];
/** Resolve plugin command specs for a provider's native naming surface without support gating. */
declare function listProviderPluginCommandSpecs(provider?: string): PluginCommandSpec[];
declare function serializePluginCommandSpec(cmd: OpenClawPluginCommandDefinition, provider?: string): {
name: string;
description: string;
acceptsArgs: boolean;
descriptionLocalizations?: {
[x: string]: string;
} | undefined;
};
export { listProviderPluginCommandSpecs as n, getPluginCommandSpecs as t };