import type { ChannelId, ChannelStructuredComponents } from "../../channels/plugins/types.js";
import type { KaijiBotConfig } from "../../config/config.js";
export type CrossContextComponentsBuilder = (message: string) => ChannelStructuredComponents;
export type CrossContextComponentsFactory = (params: {
    originLabel: string;
    message: string;
    cfg: KaijiBotConfig;
    accountId?: string | null;
}) => ChannelStructuredComponents;
export type ChannelMessageAdapter = {
    supportsComponentsV2: boolean;
    buildCrossContextComponents?: CrossContextComponentsFactory;
};
export declare function getChannelMessageAdapter(channel: ChannelId): ChannelMessageAdapter;
