openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
24 lines • 1.2 kB
TypeScript
import "../config-contracts--zSNHFlu.js";
import { Cn as NativeCommandsSetting, r as OpenClawConfig } from "../types.openclaw-A0y1x1SF.js";
import "../types-BlIxQ8NP.js";
import { m as ChannelId } from "../manifest-registry-DEOm-7AJ.js";
type NativeCommandSettingParams = {
providerId: ChannelId;
providerSetting?: NativeCommandsSetting;
globalSetting?: NativeCommandsSetting;
env?: NodeJS.ProcessEnv;
stateDir?: string;
workspaceDir?: string;
config?: OpenClawConfig;
autoDefault?: boolean;
};
/** Resolves native skill exposure for a provider, with provider config overriding global config. */
export declare function resolveNativeSkillsEnabled(params: NativeCommandSettingParams): boolean;
/** Resolves native command exposure for a provider, with provider config overriding global config. */
export declare function resolveNativeCommandsEnabled(params: NativeCommandSettingParams): boolean;
/** Returns true only when native commands are explicitly disabled by provider or inherited global config. */
export declare function isNativeCommandsExplicitlyDisabled(params: {
providerSetting?: NativeCommandsSetting;
globalSetting?: NativeCommandsSetting;
}): boolean;
export {};