source-parser.d.ts 277 B

1234567
  1. import { Line, BlockMarkers } from '../primitives.js';
  2. export interface Options {
  3. startLine: number;
  4. markers: BlockMarkers;
  5. }
  6. export type Parser = (source: string) => Line[] | null;
  7. export default function getParser({ startLine, markers, }?: Partial<Options>): Parser;