1 | import { Options } from "./index";
|
2 | export interface HookOptions {
|
3 | matcher?: (code: string) => boolean;
|
4 | ignoreNodeModules?: boolean;
|
5 | }
|
6 | export declare type RevertFunction = () => void;
|
7 | export declare function addHook(extension: string, options: Options, hookOptions?: HookOptions): RevertFunction;
|
8 | export declare function registerJS(hookOptions?: HookOptions): RevertFunction;
|
9 | export declare function registerJSX(hookOptions?: HookOptions): RevertFunction;
|
10 | export declare function registerTS(hookOptions?: HookOptions): RevertFunction;
|
11 | export declare function registerTSX(hookOptions?: HookOptions): RevertFunction;
|
12 | export declare function registerTSLegacyModuleInterop(hookOptions?: HookOptions): RevertFunction;
|
13 | export declare function registerTSXLegacyModuleInterop(hookOptions?: HookOptions): RevertFunction;
|
14 | export declare function registerAll(hookOptions?: HookOptions): RevertFunction;
|