File size: 465 Bytes
bc20498
 
 
 
 
 
1
2
3
4
5
6
7
import type { ParserObject } from "./parser-object";
export type UserOptionParser = string | ParserObject | Record<string, string | ParserObject | undefined> | undefined;
/** Get parser for script lang */
export declare function getParserForLang(lang: string | undefined | null, parser: UserOptionParser): string | ParserObject;
/** Get parser */
export declare function getParser(attrs: Record<string, string | undefined>, parser: UserOptionParser): ParserObject;