sync.d.ts 394 B

123456789
  1. import { Task } from '../managers/tasks';
  2. import ReaderSync from '../readers/sync';
  3. import { Entry, EntryItem, ReaderOptions } from '../types';
  4. import Provider from './provider';
  5. export default class ProviderSync extends Provider<EntryItem[]> {
  6. protected _reader: ReaderSync;
  7. read(task: Task): EntryItem[];
  8. api(root: string, task: Task, options: ReaderOptions): Entry[];
  9. }