/** Original stream identity, retained independently of the dashboard projection. */ export type LiveScriptOutputSource = 'stdout' | 'stderr' | 'team'; /** A presentation observer returns true only while it owns terminal output. */ type LiveScriptOutputCapture = (chunk: string, source: LiveScriptOutputSource) => boolean; /** Installs the dashboard's optional presentation sink and returns its disposer. */ export declare function subscribeToLiveScriptOutput(capture: LiveScriptOutputCapture): () => void; /** Offers an already produced chunk to the dashboard. A display failure cannot fail a script. */ export declare function captureLiveScriptOutput(chunk: string | (() => string), source: LiveScriptOutputSource): boolean; export {};