import React from 'react'; interface ScopePage { uuid: string; name: string; urlKey: string; urn: string; /** Published flag; `false` renders a "Draft" badge. Null/undefined = no badge. */ status?: boolean | null; } interface EntityScopeSelectorProps { pages: ScopePage[]; /** The active scope URN (`urn:evershop:cms:page:`), or null for All. */ currentEntityUrn: string | null; /** Label for the route-level ("all entities") option, e.g. "All CMS pages". */ allLabel: string; /** Builds the editor URL for a given entity uuid (or null for the All scope). */ scopeHref: (entityUuid: string | null) => string; loading?: boolean; } /** * Topbar dropdown that scopes the page-builder to a single entity (e.g. one * CMS page) vs. the whole route ("All CMS pages"). Sits beside the route * `PageSwitcher`: the route switcher changes *which route* is edited, this * changes *which entity within the route* placements are scoped to. * * Selection is plain `` navigation (like PageSwitcher) — the draft is * global (spec § 5.7), so switching scope preserves all pending work. Owns its * own open/search state + outside-click dismissal; the parent only supplies data. */ export declare function EntityScopeSelector({ pages, currentEntityUrn, allLabel, scopeHref, loading }: EntityScopeSelectorProps): React.ReactElement; export {};