1 | import type { CacheKeyOptions, TransformOptions, TransformedSource, Transformer } from '@jest/transform';
|
2 | import type { Config } from '@jest/types';
|
3 | import { ConfigSet } from './config/config-set';
|
4 | import type { TsJestGlobalOptions } from './types';
|
5 | export declare class TsJestTransformer implements Transformer {
|
6 | private readonly logger;
|
7 | private readonly id;
|
8 | private readonly options;
|
9 | constructor(baseOptions?: TsJestGlobalOptions);
|
10 | configsFor(jestConfig: Config.ProjectConfig): ConfigSet;
|
11 | process(input: string, filePath: Config.Path, jestConfig: Config.ProjectConfig, transformOptions?: TransformOptions): TransformedSource | string;
|
12 | getCacheKey(fileContent: string, filePath: string, _jestConfigStr: string, transformOptions: CacheKeyOptions): string;
|
13 | }
|