mast/parser/command_parser.d.ts
2025-02-19 23:18:05 -08:00

19 lines
365 B
TypeScript

export interface Part {
type: 'text';
value: string;
reconstruct: () => string;
}
export interface Command {
type: 'add' | 'filter' | 'done';
description: string;
attributes: string[];
filters: string[];
project: string;
tags: string;
parts: Part[];
reconstruct: () => string;
}
export function parse(input: string): Command;