2025-03-29 23:04:15 +01:00
|
|
|
import type { Plugin } from "unified";
|
|
|
|
import type { Root } from "hast";
|
|
|
|
interface RehypeCustomEmojiOptions {
|
|
|
|
sourceFile: string;
|
|
|
|
hidpiSourceFile?: string;
|
|
|
|
emojis: Record<string, [number, number]>;
|
|
|
|
size: number;
|
2025-03-29 23:16:56 +01:00
|
|
|
class?: string;
|
2025-03-29 23:04:15 +01:00
|
|
|
}
|
|
|
|
declare const plugin: Plugin<[Partial<RehypeCustomEmojiOptions>], Root>;
|
|
|
|
export default plugin;
|