14 lines
374 B
TypeScript
14 lines
374 B
TypeScript
import type { File } from '@babel/types';
|
|
import type { RecastCodemod } from '@remotion/studio-shared';
|
|
export type Change = {
|
|
description: string;
|
|
};
|
|
export type ApplyCodeModReturnType = {
|
|
newAst: File;
|
|
changesMade: Change[];
|
|
};
|
|
export declare const applyCodemod: ({ file, codeMod, }: {
|
|
file: File;
|
|
codeMod: RecastCodemod;
|
|
}) => ApplyCodeModReturnType;
|