import type { ChannelPlugin } from "../channels/plugins/types.plugin.js";
import type { DaoCoreConfig } from "../config/types.daocore.js";
export type LinkChannelContext = {
    linked: boolean;
    authAgeMs: number | null;
    account?: unknown;
    accountId?: string;
    plugin: ChannelPlugin;
};
export declare function resolveLinkChannelContext(cfg: DaoCoreConfig, options?: {
    sourceConfig?: DaoCoreConfig;
}): Promise<LinkChannelContext | null>;
