import type { OpenClawConfig } from "../config/types.openclaw.js"; export declare function resolveInboundDebounceMs(params: { cfg: OpenClawConfig; channel: string; overrideMs?: number; }): number; export type InboundDebounceCreateParams = { debounceMs: number; maxTrackedKeys?: number; buildKey: (item: T) => string | null | undefined; shouldDebounce?: (item: T) => boolean; resolveDebounceMs?: (item: T) => number | undefined; onFlush: (items: T[]) => Promise; onError?: (err: unknown, items: T[]) => void; }; export declare function createInboundDebouncer(params: InboundDebounceCreateParams): { enqueue: (item: T) => Promise; flushKey: (key: string) => Promise; };