import { FourSlashData } from './fourSlashTypes'; import { HostSpecificFeatures, TestState } from './testState'; export type TestStateFactory = (basePath: string, testData: FourSlashData, mountPaths?: Map, hostSpecificFeatures?: HostSpecificFeatures) => TestState; /** * run given fourslash test file * * @param basePath this is used as a base path of the virtual file system the test will run upon * @param fileName this is the file path where fourslash test file will be read from */ export declare function runFourSlashTest(basePath: string, fileName: string, cb?: jest.DoneCallback, mountPaths?: Map, hostSpecificFeatures?: HostSpecificFeatures, testStateFactory?: TestStateFactory): void; /** * run given fourslash markup content * * @param basePath this is used as a base path of the virtual file system the test will run upon * @param fileName this will be used as a filename of the given `content` in the virtual file system * if fourslash markup `content` doesn't have explicit `@filename` option * @param content this is fourslash markup string */ export declare function runFourSlashTestContent(basePath: string, fileName: string, content: string, cb?: jest.DoneCallback, mountPaths?: Map, hostSpecificFeatures?: HostSpecificFeatures, testStateFactory?: TestStateFactory): void;