import type { EntryMeta, EntryMetaWithToken } from 'favalib'; import BaseCommand from './BaseCommand.mjs'; import type { ErrorInCommand } from './BaseCommand.mjs'; import { Jsonifiable } from 'type-fest'; export type Formatter = (entries: (EntryMeta | EntryMetaWithToken)[], errors: ErrorInCommand[]) => Jsonifiable; declare abstract class BaseListOutputCommand extends BaseCommand { abstract getList(): Promise<(EntryMeta | EntryMetaWithToken)[]>; protected validFormats(): string[]; exec(): Promise Jsonifiable; } | readonly Jsonifiable[] | null>; } export default BaseListOutputCommand;