export interface DataTypeContract {
  // Optional schema for type information
  schema?: any

  // Flexible operations - plugin defines what it provides
  operations?: Record<string, Function>

  // Keywords for discovery and connection suggestions
  keywords?: string[]

  // Optional metadata
  metadata?: {
    description?: string
    version?: string
  }
}

export interface PluginContract {
  [dataTypeName: string]: DataTypeContract
}

// Helper type for discovery results
export interface DiscoveryResult {
  pluginKey: string
  dataTypeName: string
  keywords: string[]
  operations: string[]
}
