/**
* Dismissible "this is a live preview" warning banner.
*
* The preview forces `` (see
* {@link forcePortablePublication}) and skips the asset-generation step
* entirely, so what an author sees while editing can genuinely differ from a
* real build — different chunking, no locally generated images, etc. The
* banner exists to say so, once, without nagging: it renders across the top
* of the page, can be dismissed, and leaves an unobtrusive link behind that
* brings it back.
*
* The warning text itself is entirely the caller's: the two embedders this
* package ships for phrase the same fact differently (the VS Code extension
* talks about "the publication file"; pretext.plus talks about "build
* settings"), and there is no wording that fits both. See
* {@link RenderOptions.previewBanner}.
*
* Dismissal is remembered in `localStorage`, not on `window` the way the
* theme/reveal bridges remember their state. Those need to survive only an
* in-place `document.write` rebuild (same window, new render moments later);
* a reader dismissing this banner expects it to stay dismissed the next time
* they open the preview too, including after the extension falls back to a
* full `webview.html` reassignment (a new document, same as a page reload).
*/
export interface PreviewBannerOptions {
/**
* Warning text shown in the banner. Plain text — it is HTML-escaped before
* being embedded, so no markup can be passed through it.
*/
message: string;
}
/** localStorage key the injected script reads/writes to remember dismissal. */
export declare const PREVIEW_BANNER_STORAGE_KEY = "ptxPreviewBannerDismissed";
/**
* The inline `