11 lines
326 B
TypeScript
11 lines
326 B
TypeScript
|
import type { Plugin } from "unified";
|
||
|
import type { Root } from "hast";
|
||
|
interface RehypeCustomEmojiOptions {
|
||
|
sourceFile: string;
|
||
|
hidpiSourceFile?: string;
|
||
|
emojis: Record<string, [number, number]>;
|
||
|
size: number;
|
||
|
}
|
||
|
declare const plugin: Plugin<[Partial<RehypeCustomEmojiOptions>], Root>;
|
||
|
export default plugin;
|