openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
19 lines • 962 B
TypeScript
import { t as ChannelPairingAdapter } from "./pairing.types-DCZUEMDV.js";
import { t as PairingChannel } from "./pairing-store.types-BwFec4xR.js";
//#region src/pairing/pairing-store.d.ts
declare function readChannelAllowFromStore(channel: PairingChannel, env?: NodeJS.ProcessEnv, accountId?: string): Promise<string[]>;
declare function readChannelAllowFromStoreSync(channel: PairingChannel, env?: NodeJS.ProcessEnv, accountId?: string): string[];
declare function upsertChannelPairingRequest(params: {
channel: PairingChannel;
id: string | number;
accountId: string;
meta?: Record<string, string | undefined | null>;
env?: NodeJS.ProcessEnv;
/** Extension channels can pass their adapter directly to bypass registry lookup. */
pairingAdapter?: ChannelPairingAdapter;
}): Promise<{
code: string;
created: boolean;
}>;
//#endregion
export { readChannelAllowFromStoreSync as n, upsertChannelPairingRequest as r, readChannelAllowFromStore as t };