import { o as HistoryEntry, r as ErrorReport } from "./types-D1lJMV_Y.mjs"; //#region src/render/html/state.d.ts interface Theme { /** Product name shown in the header. */ name?: string; /** Inline SVG markup for the header, drawn at 20px tall in `currentColor`. Trusted; not escaped. */ logo?: string; /** Link for the brand lockup, e.g. the framework homepage. */ url?: string; /** Accent colour, any CSS colour. Drives links, selected controls, the progress bar and focus rings. */ accent?: string; /** Force a colour scheme instead of following the user's preference. */ scheme?: "light" | "dark"; /** * Extra CSS custom properties set on the root, e.g. `{ '--mb-bg': '#0a0a0a' }`. * See `styles.css` for the full list of tokens. */ vars?: Record; /** Extra CSS appended after the built-in stylesheet. Trusted; not escaped. */ css?: string; } interface PageState { environment?: string; mode: "page" | "overlay"; report: ErrorReport; cwd?: string; /** Base path of the live channel, e.g. `/__my-bad`. Enables SSE and actions. */ channel?: string; history?: HistoryEntry[]; theme?: Theme; /** Mount minimised regardless of the user's remembered preference. */ startMinimized?: boolean; /** Custom element tag name hosting the overlay. */ tag?: string; /** URL scheme used to open files when the channel has no `open` action. */ editor?: string; /** Characters of the message shown before it has to be expanded. */ maxMessageLength?: number; /** Correlation id of the request this page was rendered for. */ requestId?: string; /** CSS applied to the overlay shadow root. */ styles?: string; /** URL of a stylesheet to load into the overlay shadow root, alongside `styles`. */ stylesUrl?: string; version: string; } //#endregion export { Theme as n, PageState as t };