mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 07:40:42 +00:00
15 lines
408 B
TypeScript
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;
|