/**
 * Overlays domain state — tracks which full-screen or floating overlays
 * are currently visible and their configuration.
 */
/**
 * Returns the default initial state for the overlays domain.
 */
export function createInitialOverlaysState() {
    return {
        revision: 0,
        lastUpdatedAt: 0,
        source: 'init',
        overlays: new Map(),
        visibleStack: [],
        focusedOverlayId: undefined,
        pendingPermission: undefined,
        pendingConfirmation: undefined,
    };
}
