//#region src/tui/extension-host/surface.ts
/**
* Shared TUI extension surface state (header/footer widgets, status slots).
*/
var TuiExtensionSurface = class {
	headerWidgets = /* @__PURE__ */ new Map();
	footerWidgets = /* @__PURE__ */ new Map();
	statusSlots = /* @__PURE__ */ new Map();
	getHeaderLines() {
		const lines = [];
		for (const widgetLines of this.headerWidgets.values()) lines.push(...widgetLines);
		return lines;
	}
	getFooterLines() {
		const lines = [];
		for (const widgetLines of this.footerWidgets.values()) lines.push(...widgetLines);
		return lines;
	}
	getStatusParts() {
		return [...this.statusSlots.values()].filter(Boolean);
	}
};
//#endregion
export { TuiExtensionSurface };

//# sourceMappingURL=surface.js.map