export declare function cleanDetailedSpec(spec: any): {};