import { AssetMeta, CrestTier, Namespace } from "./types.mjs"; //#region src/search.d.ts interface FindAssetsFilter { /** Substring match across name, slug, and tags (case-insensitive). */ text?: string; /** Restrict to one or more namespaces. */ namespace?: Namespace | Namespace[]; /** Restrict to one or more crest tiers (`full` / `mini`). Non-crest assets have no tier. */ tier?: CrestTier | CrestTier[]; /** Match assets whose variant props include all of these key/value pairs. */ variant?: Record; /** Match assets whose tags include every one of these (case-insensitive, exact tag). */ tags?: string | string[]; } /** Returns every asset matching `filter` (empty filter returns all of them). */ declare function findAssets(filter?: FindAssetsFilter): AssetMeta[]; /** * Looks up a single asset's metadata by namespace + slug. For crests a slug is shared by * the full and mini tiers, so pass `tier` to disambiguate (otherwise the first match wins). */ declare function getAsset(namespace: Namespace, slug: string, tier?: CrestTier): AssetMeta | undefined; //#endregion export { FindAssetsFilter, findAssets, getAsset };