refactor(tui): drop stale terminal-win32 export (#52985)

This commit is contained in:
Kit Langton 2026-10-03 21:32:54 -07:00 • committed by GitHub
parent a30f24355e
commit 1287996a91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 14 deletions

View file

@ -34,7 +34,6 @@
"./mini/tool": "./src/mini/tool.public.ts",
"./model-preference": "./src/model-preference.ts",
"./runtime": "./src/runtime.tsx",
"./terminal-win32": "./src/terminal-win32.ts",
"./context/keymap": "./src/context/keymap.tsx",
"./prompt/content": "./src/prompt/content.ts",
"./prompt/display": "./src/prompt/display.ts",

View file

@ -1,13 +0,0 @@
declare module "node:ffi" {
type Signature = {
readonly arguments?: readonly string[]
readonly return?: string
}
type ForeignFunction = (...args: ReadonlyArray<unknown>) => number | bigint
export function dlopen(
path: string,
definitions: Readonly<Record<string, Signature>>,
): { readonly functions: Readonly<Record<string, ForeignFunction>> }
}