export type Builder = T | ((builder: T) => T);