openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
24 lines (23 loc) • 817 B
TypeScript
import { type SlackLegacyDraftStreamMode, type StreamingMode } from "openclaw/plugin-sdk/config-runtime";
export type SlackStreamMode = SlackLegacyDraftStreamMode;
export type SlackStreamingMode = StreamingMode;
export declare function resolveSlackStreamMode(raw: unknown): SlackStreamMode;
export declare function resolveSlackStreamingConfig(params: {
streaming?: unknown;
streamMode?: unknown;
nativeStreaming?: unknown;
}): {
mode: SlackStreamingMode;
nativeStreaming: boolean;
draftMode: SlackStreamMode;
};
export declare function applyAppendOnlyStreamUpdate(params: {
incoming: string;
rendered: string;
source: string;
}): {
rendered: string;
source: string;
changed: boolean;
};
export declare function buildStatusFinalPreviewText(updateCount: number): string;