import type { CommunicationEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/communication';
import type { PluginEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/plugins';
import type { McpEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/mcp';
import type { TransportEvent } from '@pellux/goodvibes-sdk/platform/runtime/events/transport';
import type { IntegrationDomainState, IntegrationRecord } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/integrations';
import type { AutomationDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/automation';
import type { RoutesDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/routes';
import type { ControlPlaneDomainState, ControlPlaneClientRecord } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/control-plane';
import type { DeliveryDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/deliveries';
import type { WatcherDomainState, WatcherRecord } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/watchers';
import type { SurfaceDomainState, SurfaceRecord } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/surfaces';
import type { CommunicationDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/communication';
import type { PluginDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/plugins';
import type { McpDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/mcp';
import type { AcpDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/acp';
import type { DaemonDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/daemon';
import type { AutomationJob } from '@pellux/goodvibes-sdk/platform/automation/jobs';
import type { AutomationRun } from '@pellux/goodvibes-sdk/platform/automation/runs';
import type { AutomationSourceRecord } from '@pellux/goodvibes-sdk/platform/automation/sources';
import type { AutomationRouteBinding } from '@pellux/goodvibes-sdk/platform/automation/routes';
import type { AutomationSurfaceKind } from '@pellux/goodvibes-sdk/platform/automation/types';
import type { AutomationDeliveryAttempt } from '@pellux/goodvibes-sdk/platform/automation/delivery';
import type { SessionDomainState } from '@pellux/goodvibes-sdk/platform/runtime/store/domains/session';
export declare function updateCommunicationState(domain: CommunicationDomainState, event: CommunicationEvent): CommunicationDomainState;
export declare function updatePluginState(domain: PluginDomainState, event: PluginEvent): PluginDomainState;
export declare function updateMcpState(domain: McpDomainState, event: McpEvent): McpDomainState;
export declare function updateTransportState(acp: AcpDomainState, daemon: DaemonDomainState, event: TransportEvent): Pick<import('../../state.js').RuntimeState, 'acp' | 'daemon'>;
export declare function updateIntegrationDomainFromRecord(domain: IntegrationDomainState, record: IntegrationRecord, source: string): IntegrationDomainState;
export declare function updateAutomationDomainFromSource(domain: AutomationDomainState, sourceRecord: AutomationSourceRecord, source: string): AutomationDomainState;
export declare function updateAutomationDomainFromJob(domain: AutomationDomainState, job: AutomationJob, source: string): AutomationDomainState;
export declare function updateAutomationDomainFromRun(domain: AutomationDomainState, run: AutomationRun, source: string): AutomationDomainState;
export declare function updateRoutesDomainFromBinding(domain: RoutesDomainState, binding: AutomationRouteBinding, source: string): RoutesDomainState;
export declare function updateRouteFailureState(domain: RoutesDomainState, _surfaceKind: AutomationSurfaceKind, _externalId: string, source: string): RoutesDomainState;
export declare function updateControlPlaneDomainFromClient(domain: ControlPlaneDomainState, client: ControlPlaneClientRecord, source: string): ControlPlaneDomainState;
export declare function patchControlPlaneDomain(domain: ControlPlaneDomainState, patch: Partial<ControlPlaneDomainState>, source: string): ControlPlaneDomainState;
export declare function updateDeliveryDomainFromAttempt(domain: DeliveryDomainState, attempt: AutomationDeliveryAttempt, source: string): DeliveryDomainState;
export declare function updateSurfaceDomainFromRecord(domain: SurfaceDomainState, record: SurfaceRecord, source: string): SurfaceDomainState;
export declare function updateWatcherDomainFromRecord(domain: WatcherDomainState, record: WatcherRecord, source: string): WatcherDomainState;
export declare function syncSessionStatePatch(domain: SessionDomainState, patch: Partial<SessionDomainState>, source: string): SessionDomainState;
//# sourceMappingURL=sync.d.ts.map