import { type VisualTheme } from './theme-library.ts'; import { type PickerSite } from './theme-legacy-specimens.ts'; import { type PageRole } from './theme-suite-data.ts'; import { type ManifestPage } from './theme-page-manifest.ts'; export type Example = 'story' | 'guide' | PageRole | string; export declare const pageRole: (example: Example) => PageRole; export declare function manifestPages(t: VisualTheme): ManifestPage[]; export declare function resolveExample(t: VisualTheme, example: string): ManifestPage | undefined; export declare function fullSiteLinks(site: PickerSite, t: VisualTheme, v?: PreviewViewport): Record; export declare function fullSiteByUrl(sites: PickerSite[], themes: readonly VisualTheme[], url: string): string | undefined; export type PreviewViewport = 'desktop' | 'mobile'; /** Display-only palette. Selection always binds the original captured brand. */ export declare function displaySite(site: PickerSite, theme: VisualTheme, mode: 'brand' | 'original'): PickerSite; export declare function renderSpecimen(site: PickerSite, themeId: string, example?: Example, release?: string): string; export type PreviewResource = { id: string; url: string; html: string; release: string; themeId: string; brandHash: string; example: Example; viewport: PreviewViewport; }; export declare function previewResource(site: PickerSite, theme: VisualTheme, example: Example, viewport: PreviewViewport): PreviewResource; export declare function previewByUrl(sites: PickerSite[], themes: readonly VisualTheme[], url: string): PreviewResource | undefined;