import './session/pi-assets.js'; import './session/pi-oauth-flows.js'; /** Run the interactive attach session against `nodeId`. Resolves when the * viewer detaches (ctrl+c/ctrl+d), the broker goes away, or a signal lands — * always restoring the terminal first. `canvasName`, when set, attaches over * a relayed WebSocket to that `remoteCanvas.targets.` instead of the * local unix socket — see the `--canvas` flag on `attachToLeaf`. */ export declare function runAttach(nodeId: string, observer: boolean, canvasName?: string): Promise;