UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

19 lines (18 loc) • 778 B
import type { CommandNormalizeOptions } from "../auto-reply/commands-registry.js"; import { createInboundDebouncer, type InboundDebounceCreateParams } from "../auto-reply/inbound-debounce.js"; import type { OpenClawConfig } from "../config/types.js"; export declare function shouldDebounceTextInbound(params: { text: string | null | undefined; cfg: OpenClawConfig; hasMedia?: boolean; commandOptions?: CommandNormalizeOptions; allowDebounce?: boolean; }): boolean; export declare function createChannelInboundDebouncer<T>(params: Omit<InboundDebounceCreateParams<T>, "debounceMs"> & { cfg: OpenClawConfig; channel: string; debounceMsOverride?: number; }): { debounceMs: number; debouncer: ReturnType<typeof createInboundDebouncer<T>>; };