import type { ChannelManager } from '../channels/manager.js';
import type { Config } from '../config/schema.js';
export type ChannelConnectDeferSource = 'off' | 'explicit' | 'meta';
export type ResolvedChannelConnectDefer = {
    deferPluginIds: Set<string>;
    mode: 'auto' | 'off' | 'explicit';
    /** Which rule produced `deferPluginIds` before skip filtering (`meta` includes skip application). */
    source: ChannelConnectDeferSource;
};
/**
 * Resolve which channel plugin ids should skip `start()` in phase1 when HTTP lifecycle defer is on.
 */
export declare function resolveChannelConnectDeferSet(params: {
    config: Config;
    channelManager: ChannelManager;
    deferChannelConnectUntilAfterHttp: boolean;
}): ResolvedChannelConnectDefer;
