import { createNativeEmojiSequenceSupport } from './nativeEmojiSequenceSupport'; export declare const DEFAULT_NATIVE_EMOJI_FONT = "\"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Segoe UI\", \"Apple Color Emoji\", \"Twemoji Mozilla\", \"Noto Color Emoji\", \"EmojiOne Color\", \"Android Emoji\""; export type NativeEmojiProbe = ReturnType; /** * Platform support as filtering reads it. `supports` returns a probed * identity's exact result (null when inconclusive, undefined when not * probed yet); the version and flag fields predict the rest. */ export type NativeEmojiSupport = { supports: (unified: string) => boolean | null | undefined; /** Emoji versions whose sample the font cannot draw. */ failedVersions: Set; countryFlags: boolean; }; export declare const UNKNOWN_SUPPORT: {}; /** * Probes the font synchronously, sampling versions and flags only. * Exact sequence results accumulate on the returned probe through * `prime`, which pickers call in background batches. */ export declare function detectNativeEmojiSupport(fontFamily?: string, refresh?: boolean, ownerDocument?: Document | undefined): NativeEmojiProbe | typeof UNKNOWN_SUPPORT; /** * Whether a rendered identity should show. An exact result wins; until * one exists, flags and emojis of a version whose sample failed are * predicted unsupported. `addedIn` is the emoji's version, when known. */ export declare function isNativeEmojiSupported(support: NativeEmojiSupport | null, unified: string, addedIn?: number): boolean; /** The picker's view of a probe: frozen results, never drawing. */ /** * The picker's view of a probe: frozen results, never drawing, plus a * prediction for identities not checked yet. `samples` maps each emoji * version to one emoji introduced in it. Versions are judged one by one: * fonts often draw a newer version's single glyphs but not an older * version's sequences. */ export declare function nativeSupportSnapshot(probe: NativeEmojiProbe, samples: Map): NativeEmojiSupport; /** Test-only: forget cached probe results. */ export declare function __resetNativeEmojiSupportForTest(): void; /** Whether a unified code is a regional-indicator country flag. */ export declare function isCountryFlagUnified(unified: string): boolean;