Files
openclaw/src/auto-reply/command-detection.runtime-types.ts
2026-04-11 23:38:35 +01:00

15 lines
408 B
TypeScript

import type { OpenClawConfig } from "../config/types.js";
import type { CommandNormalizeOptions } from "./commands-registry.types.js";
export type IsControlCommandMessage = (
text?: string,
cfg?: OpenClawConfig,
options?: CommandNormalizeOptions,
) => boolean;
export type ShouldComputeCommandAuthorized = (
text?: string,
cfg?: OpenClawConfig,
options?: CommandNormalizeOptions,
) => boolean;