import type { DaemonComponents } from '../boot/daemon-lifecycle.js';
import type { LocalMeshEntry } from '../repo-mesh-types.js';
export declare function pullRemoteNodeQueues(components: DaemonComponents, mesh: LocalMeshEntry, localDaemonId: string | undefined, candidateDaemonIds: string[]): Promise<void>;
export declare function unwrapReadChatPayload(raw: unknown): Record<string, unknown> | null;
export declare function readChatPayloadStatus(payload: Record<string, unknown> | null): string;
export declare function realTerminalEmitPendingForTask(meshId: string, taskId: string): boolean;
export declare function reprobeWorkerStatus(components: DaemonComponents, args: {
    isLocalNode: boolean;
    nodeDaemonId: string;
    readArgs: Record<string, unknown>;
}): Promise<string | null>;
export declare function collectLiveNodesWithSessions(components: DaemonComponents, mesh: LocalMeshEntry, selfIds: string[], localDaemonId: string | undefined): Promise<any[]>;
export declare function extractStatusMetadataSessions(raw: unknown): any[];
export declare function extractPendingEvents(raw: unknown): any[];
export declare function buildForwardPayloadFromPending(event: any): Record<string, unknown>;
