import { Server } from 'http'
import type { IPty } from 'node-pty'

export interface StaticHttpServe {
  server: Server
  port: number
  host: Array<string>
}
export interface PtyLast {
  command: string
  key: string
}

export interface PtyItem {
  killed?: boolean
  pty: IPty
  data: string
  task: {
    command: string
    key: string
  }[]
  execFile?: string
}
