/**
 * Preview iframe bootstrap function.
 *
 * Called from the portal project's src/preview-entry.tsx with the
 * customWidgets array from portal.config.ts. Mirrors the createPortal()
 * pattern — SDK handles the wiring, user project provides the widgets.
 *
 * Two-phase auth handshake:
 *   Phase 1: Send `ready`, wait for `auth` command, store token
 *   Phase 2: Mount provider stack + PreviewRenderer, send `auth-ready`
 */
import type { WidgetManifest } from "@fluid-app/portal-core/registries";
import type { WidgetPackageDescriptor } from "../types/widget-package-descriptor";
export interface CreatePreviewOptions {
    /** Custom widgets from portal.config.ts. */
    customWidgets?: WidgetManifest[];
    /** Trusted remote widget packages to load at runtime. */
    widgetPackages?: readonly WidgetPackageDescriptor[];
    /** DOM element ID to mount into. Defaults to "preview-root". */
    rootId?: string;
}
export declare function createPreview(options?: CreatePreviewOptions): void;
//# sourceMappingURL=preview-entry.d.ts.map