Index: Metadata & {
    fields: IndexField[];
    label: string;
}

Type declaration