/**
 * Gateway and control-plane contracts shared by the daemon host and clients.
 */
import type { ArtifactAttachment } from '../artifacts/index.js';
export type ControlPlaneStreamingMode = 'sse' | 'websocket' | 'both';
export type ControlPlaneClientSurface = 'tui' | 'web' | 'slack' | 'discord' | 'ntfy' | 'webhook' | 'homeassistant' | 'telegram' | 'google-chat' | 'signal' | 'whatsapp' | 'imessage' | 'msteams' | 'bluebubbles' | 'mattermost' | 'matrix' | 'service';
export interface ControlPlaneServerConfig {
    enabled: boolean;
    host: string;
    port: number;
    baseUrl?: string | undefined;
    streamingMode: ControlPlaneStreamingMode;
    sessionTtlMs: number;
}
export interface ControlPlaneClientDescriptor {
    id: string;
    surface: ControlPlaneClientSurface;
    label: string;
    connectedAt: number;
    lastSeenAt: number;
    userId?: string | undefined;
}
export interface ControlPlaneEventSubscription {
    id: string;
    clientId: string;
    domains: string[];
    createdAt: number;
}
export interface ControlPlaneSurfaceMessage {
    id: string;
    surface: ControlPlaneClientSurface;
    createdAt: number;
    title: string;
    body: string;
    level?: 'info' | 'success' | 'warn' | 'error' | undefined;
    routeId?: string | undefined;
    surfaceId?: string | undefined;
    clientId?: string | undefined;
    attachments?: readonly ArtifactAttachment[] | undefined;
    metadata?: Record<string, unknown> | undefined;
}
//# sourceMappingURL=types.d.ts.map