数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
726 B

import { EmojiSequenceComponentEntry, EmojiTestDataComponentsMap } from './components.js';
import '../data.js';
import './parse.js';
/**
* Split emoji name in base name and variations
*
* Variations are also split in strings and emoji components with indexes pointing to sequence
*/
interface SplitEmojiName {
base: string;
key: string;
variations?: (string | EmojiSequenceComponentEntry)[];
components?: number;
}
/**
* Split emoji name to base name and variations
*
* Also finds indexes of each variation
*/
declare function splitEmojiNameVariations(name: string, sequence: number[], componentsData: EmojiTestDataComponentsMap): SplitEmojiName;
export { SplitEmojiName, splitEmojiNameVariations };