rehype-custom-emoji-plugin/dist/index.d.ts
2025-03-29 23:17:14 +01:00

11 lines
346 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;
class?: string;
}
declare const plugin: Plugin<[Partial<RehypeCustomEmojiOptions>], Root>;
export default plugin;