export default interface Source { getIndex(): string getType(): string getData(): Promise> } export type SourceRecord = { _id: string '@timestamp': string }