export type MessageRole = 'system' | 'user' | 'assistant';
export interface StoredNode {
    id: string;
    pairingCode: string;
    lastConnected: string | null;
    connectedAt: string | null;
}
export interface PairedHost extends StoredNode {
    connected: boolean;
}
export interface ConnectionState {
    status: 'idle' | 'connecting' | 'connected' | 'error';
    activeHostId: string | null;
    switchboardConnected: boolean;
    error: string | null;
}
export interface PendingRequest {
    onToken?: (token: string) => void;
    onDone?: (stats: any) => void;
    onError?: (err: string) => void;
    onCommandResult?: (result: any) => void;
    inputTokens?: number;
}
