/// /** * Changes after this point: https://github.com/microsoft/TypeScript/wiki/API-Breaking-Changes#typescript-48 */ import ts from "typescript"; import TsFourSevenModule from "../../declarations/typescript4.7"; import { TsTransformPathsContext } from "../../types"; import { DownSampleTsTypes } from "../utils"; export declare namespace TsFourSeven { type TypeMap = [ [ ts.ImportDeclaration, TsFourSevenModule.ImportDeclaration ], [ ts.Modifier, TsFourSevenModule.Modifier ], [ ts.ImportClause, TsFourSevenModule.ImportClause ], [ ts.Expression, TsFourSevenModule.Expression ], [ ts.AssertClause, TsFourSevenModule.AssertClause ], [ ts.ExportDeclaration, TsFourSevenModule.ExportDeclaration ], [ ts.NamedExportBindings, TsFourSevenModule.NamedExportBindings ], [ ts.ModuleDeclaration, TsFourSevenModule.ModuleDeclaration ], [ ts.ModuleName, TsFourSevenModule.ModuleName ], [ ts.ModuleBody, TsFourSevenModule.ModuleBody ] ]; } export declare namespace TsFourSeven { const predicate: ({ tsVersionMajor, tsVersionMinor }: TsTransformPathsContext) => boolean; function handler(context: TsTransformPathsContext, prop: string | symbol): (...args: any) => any; function downSample(...args: T): DownSampleTsTypes; }