@lottiefiles/relottie-parse
Version:
Parse Lottie JSON format to LAST
19 lines (15 loc) • 474 B
TypeScript
import { Root } from '@lottiefiles/last';
import { Plugin } from 'unified';
import { ParseOptions } from './options.js';
/**
* Copyright 2022 Design Barn Inc.
*/
declare type Options = Partial<ParseOptions>;
/**
* Include other plugins' options
*/
interface SettingsOptions extends Record<string, unknown> {
parse?: Options;
}
declare const relottieParse: Plugin<[Options?], string, Root>;
export { type Options, type SettingsOptions, relottieParse as default };