import { TestBed } from '@angular/core/testing'; /** * Define the structure of the options object passed to `configureTestBed` */ export declare type TestBedCompilerOptions = Partial<{ providers: any[]; useJit: boolean; preserveWhitespaces: boolean; }>; /** * Define the structure of the function passed to `configureTestBed` * * @param testBed - The TestBed instance */ export declare type ConfigureTestBedFn = (testBed: typeof TestBed) => void; /** * Create an instance of the TestBed and compile components * * @param configureFn - The configuration function for the TestBed * @param compilerOptions * @returns A promise-wrapped TestBed instance */ export declare function configureTestBedWhitespace(configureFn: ConfigureTestBedFn, compilerOptions?: TestBedCompilerOptions): Promise;