import type { PinetControlCommand } from "./helpers.js"; export interface PinetRemoteControlAcksDeps { queueBrokerInboxIds: (inboxIds: Iterable) => void; isBrokerConnected: () => boolean; markBrokerInboxIdsDelivered: (inboxIds: number[]) => void; queueFollowerInboxIds: (inboxIds: Iterable) => void; markFollowerInboxIdsDelivered: (inboxIds: Iterable) => void; flushDeliveredFollowerAcks: () => void | Promise; } export interface PinetRemoteControlAcks { resetPendingRemoteControlAcks: () => void; deferBrokerControlAck: (command: PinetControlCommand, inboxId: number) => void; deferFollowerControlAck: (command: PinetControlCommand, inboxId: number) => void; flushDeferredRemoteControlAcks: (command: PinetControlCommand) => void; } export declare function createPinetRemoteControlAcks(deps: PinetRemoteControlAcksDeps): PinetRemoteControlAcks;