/** * Theme Gallery Loader * * Loads and caches the bundled theme gallery JSON. * Used as offline fallback for the marketplace and for API seeding. * * @since v2.2.3 */ import type { ExtendedTheme } from './theme-types.js'; /** * Gallery theme entry — extends ExtendedTheme with gallery metadata */ export interface GalleryTheme extends ExtendedTheme { /** Whether the theme has been verified by the Pluginator team */ verified?: boolean; /** Whether the theme is featured in the gallery */ featured?: boolean; } /** * Load all themes from the bundled gallery JSON. * Results are cached after first load. */ export declare function loadThemeGallery(): GalleryTheme[]; /** * Get a single gallery theme by ID. */ export declare function getGalleryTheme(id: string): GalleryTheme | undefined; /** * Clear the gallery cache (useful for testing). */ export declare function clearGalleryCache(): void; //# sourceMappingURL=theme-gallery-loader.d.ts.map