Urara-Blog/node_modules/.pnpm-store/v3/files/d2/a79d3181d9406243c86767408493fb550015e9e5737f0d1c12a081dfcef086cdc7ae0a91ba9fc5267d750742031a12dd74671383c20d57bf2a43f4822b4e1e
2022-08-14 01:14:53 +08:00

19 lines
600 B
Text

declare type Input = string;
declare type Output = Array<string | number>;
declare const lex: (input: Input) => Output;
declare type IDENTIFIER = string | number;
declare type OBJECT = {
[key in IDENTIFIER]: VALUE;
};
declare type ARRAY = VALUE[];
declare type VALUE = OBJECT | ARRAY | string | boolean | number | null | undefined;
declare const parse: (input: ReturnType<typeof lex>) => OBJECT;
declare class FenceparserError extends Error {
constructor(message: string);
}
declare const _default: (input: string) => OBJECT;
export { FenceparserError, _default as default, lex, parse };