import type{EmojiPickerGroup}from'./emoji-types.js'; /** * Loads the optional peer dependency `emoji-picker-element-data` and adapts its JSON export into * this component's own `EmojiPickerGroup[]` shape via `adaptEmojiPickerElementData()` below. Never * throws — resolves `null` (with a one-time `console.warn`) if the peer isn't installed, the import * otherwise fails, or the resolved module matches neither the expected bare-array nor * `{ default: [...] }` namespace shape (a broken or spoofed peer) — that last case fails closed * rather than silently folding into `[]`, which would be indistinguishable from a well-formed peer * that legitimately produced zero groups. Mirrors `pdf-loader.ts`'s `loadPdfJsDeps()` exact shape. * `importData` is an injectable seam for tests (see `emoji-data-loader.test.ts`). */ export declare function loadEmojiData(importData?:()=>Promise):Promise; /** Cached per page, mirroring `pdf-loader.ts`'s `loadPdfJs()` single-flight shape. */ export declare function loadEmojiDataCached():Promise;