pediatric-ai-scribe-v3/mobile/node_modules/@ionic/cli-framework-output/dist/output.d.ts
Daniel d3ee6001c1 Add Capacitor native mobile app (PedScribe) for iOS + Android
New mobile/ directory with Capacitor project:
- Configurable server URL launcher (default: app.pedshub.com)
- Android: foreground service + wake lock for background recording
  (AudioRecordingService preserved from existing TWA)
- iOS: background audio mode + microphone permission
- App ID: com.pedshub.scribe
- Both platforms initialized and synced

Existing android/ TWA project untouched — this is a separate project.
Build: cd mobile && npx cap open android (or ios)
2026-04-11 02:18:06 +02:00

41 lines
1.4 KiB
TypeScript

/// <reference types="node" />
/// <reference types="node" />
import { Colors } from './colors';
import { TaskChain } from './tasks';
export interface OutputStrategy {
readonly stream: NodeJS.WritableStream;
readonly colors: Colors;
write(msg: string): boolean;
createTaskChain(): TaskChain;
}
export interface StreamOutputStrategyOptions {
readonly stream?: NodeJS.WritableStream;
readonly colors?: Colors;
}
export declare class StreamOutputStrategy implements OutputStrategy {
readonly stream: NodeJS.WritableStream;
readonly colors: Colors;
constructor({ stream, colors }: StreamOutputStrategyOptions);
write(msg: string): boolean;
createTaskChain(): TaskChain;
}
export interface TTYOutputStrategyOptions extends StreamOutputStrategyOptions {
readonly stream?: NodeJS.WriteStream;
}
export declare class TTYOutputStrategy extends StreamOutputStrategy implements OutputStrategy {
readonly stream: NodeJS.WriteStream;
protected readonly redrawer: TTYOutputRedrawer;
constructor({ stream, colors }?: TTYOutputStrategyOptions);
createTaskChain(): TaskChain;
}
export interface TTYOutputRedrawerOptions {
readonly stream?: NodeJS.WriteStream;
}
export declare class TTYOutputRedrawer {
readonly stream: NodeJS.WriteStream;
constructor({ stream }: TTYOutputRedrawerOptions);
get width(): number;
redraw(msg: string): void;
clear(): void;
end(): void;
}