mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-26 19:07:17 +00:00
21 lines
773 B
TypeScript
21 lines
773 B
TypeScript
type SharedLocalShellType = "posix" | "fish" | "powershell" | "cmd" | "unknown";
|
|
type SharedLocalOs = "linux" | "macos" | "windows";
|
|
|
|
declare module "./localShell.cjs" {
|
|
export function detectLocalOs(platformLike?: string): SharedLocalOs;
|
|
export function classifyLocalShellType(
|
|
shellPath: string | undefined,
|
|
platformLike?: string,
|
|
): SharedLocalShellType;
|
|
export function isWindowsAppExecutionAliasPath(filePath: string): boolean;
|
|
}
|
|
|
|
declare module "@/lib/localShell.cjs" {
|
|
export function detectLocalOs(platformLike?: string): SharedLocalOs;
|
|
export function classifyLocalShellType(
|
|
shellPath: string | undefined,
|
|
platformLike?: string,
|
|
): SharedLocalShellType;
|
|
export function isWindowsAppExecutionAliasPath(filePath: string): boolean;
|
|
}
|