mirror of
https://github.com/stablyai/orca.git
synced 2026-10-06 08:02:28 +00:00
18 lines
481 B
TypeScript
18 lines
481 B
TypeScript
import type { RpcClient } from '../transport/rpc-client'
|
|
import type { ConnectionState } from '../transport/types'
|
|
|
|
export type HostDiffReviewBinding = {
|
|
client: RpcClient | null
|
|
connectionState: ConnectionState
|
|
reconnect(): Promise<void>
|
|
device: HostDiffReviewDeviceOperations
|
|
}
|
|
|
|
export type HostDiffReviewDeviceOperations = {
|
|
selection(): void
|
|
success(): void
|
|
error(): void
|
|
writeClipboard(text: string): Promise<void>
|
|
openExternal(url: string): Promise<void>
|
|
}
|