openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
6 lines (5 loc) • 395 B
TypeScript
import type { PluginChannelRegistration } from "../../plugins/registry.js";
import type { ChannelId } from "./types.js";
type ChannelRegistryValueResolver<TValue> = (entry: PluginChannelRegistration) => TValue | undefined;
export declare function createChannelRegistryLoader<TValue>(resolveValue: ChannelRegistryValueResolver<TValue>): (id: ChannelId) => Promise<TValue | undefined>;
export {};