// Re-export the hub-augmented context type so consumers can import it
// from the hub's main `types` barrel.
export type { CreateHubContextOptions, DevframeHubContext } from '../node/context'

export * from './commands'
export * from './docks'
// Deprecated pre-0.7 json-render types, kept for compatibility — see
// `./json-render` for details on the `@devframes/json-render` replacement.
export * from './json-render'
export * from './messages'
export * from './settings'
export * from './terminals'

export type { RpcDefinitionsFilter, RpcDefinitionsToFunctions } from 'devframe/rpc'

// NOTE: we re-export devframe's types individually rather than using
// `export * from 'devframe/types'` because the rolldown-plugin-dts step
// fails with a `MemberExpression` AST error on namespace re-exports
// from external packages (tsdown 0.21 / rolldown-plugin-dts 0.23).
// Revisit once upstream supports it.
export type {
  ConnectionMeta,
  DevframeCapabilities,
  DevframeDiagnosticsDefinition,
  DevframeDiagnosticsHost,
  DevframeDiagnosticsLogger,
  DevframeHost,
  DevframeNodeRpcSession,
  DevframeRpcClientFunctions,
  DevframeRpcServerFunctions,
  DevframeRpcSharedStates,
  DevframeViewHost,
  EntriesToObject,
  EventEmitter,
  EventsMap,
  EventUnsubscribe,
  PartialWithoutId,
  RpcBroadcastOptions,
  RpcFunctionsHost,
  RpcSharedStateGetOptions,
  RpcSharedStateHost,
  RpcStreamingChannel,
  RpcStreamingChannelOptions,
  RpcStreamingHost,
  Thenable,
} from 'devframe/types'
