mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-27 03:10:47 +00:00
19 lines
587 B
TypeScript
19 lines
587 B
TypeScript
interface SharedProgrammaticCommandLogRewrite {
|
|
sentCommand: string;
|
|
displayCommand: string;
|
|
}
|
|
|
|
interface SharedProgrammaticCommandLogRewriter {
|
|
queueRewrite(rewrite: SharedProgrammaticCommandLogRewrite): void;
|
|
append(input: string): string;
|
|
finish(): string;
|
|
}
|
|
|
|
declare module "./programmaticCommandLog.shared.cjs" {
|
|
export function createProgrammaticCommandLogRewriter(): SharedProgrammaticCommandLogRewriter;
|
|
}
|
|
|
|
declare module "@/domain/programmaticCommandLog.shared.cjs" {
|
|
export function createProgrammaticCommandLogRewriter(): SharedProgrammaticCommandLogRewriter;
|
|
}
|