/** Creates a discrete legend */ export function legend(config?: any): any