Files
Netcatty/domain/programmaticCommandLog.shared.d.ts
T

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;
}