openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
23 lines • 1.47 kB
TypeScript
import { i as OpenClawConfig } from "./types.openclaw-DBHlrrVj.js";
import { t as ChannelId } from "./channel-id.types-DjYEl-_2.js";
import { x as ChannelDirectoryAdapter } from "./types.adapters-B6PMXit1.js";
//#region src/channels/read-only-account-inspect.d.ts
type ReadOnlyInspectedAccount = Record<string, unknown>;
/** Inspects channel account config without loading mutable runtime surfaces. */
declare function inspectReadOnlyChannelAccount(params: {
channelId: ChannelId;
cfg: OpenClawConfig;
accountId?: string | null;
}): Promise<ReadOnlyInspectedAccount | null>;
//#endregion
//#region src/channels/plugins/directory-adapters.d.ts
declare const nullChannelDirectorySelf: NonNullable<ChannelDirectoryAdapter["self"]>;
declare const emptyChannelDirectoryList: NonNullable<ChannelDirectoryAdapter["listPeers"]>;
/** Build a channel directory adapter with a null self resolver by default. */
declare function createChannelDirectoryAdapter(params?: Omit<ChannelDirectoryAdapter, "self"> & {
self?: ChannelDirectoryAdapter["self"];
}): ChannelDirectoryAdapter;
/** Build the common empty directory surface for channels without directory support. */
declare function createEmptyChannelDirectoryAdapter(): ChannelDirectoryAdapter;
//#endregion
export { ReadOnlyInspectedAccount as a, nullChannelDirectorySelf as i, createEmptyChannelDirectoryAdapter as n, inspectReadOnlyChannelAccount as o, emptyChannelDirectoryList as r, createChannelDirectoryAdapter as t };