import type { TransformationMode } from './types.js'; /** * Takes a code and transform it according to the given mode. * * @param code Code to transform. * @param id filepath of the file being subjected to transformation. * @param mode Transformation mode to use. * @param elements A list of md-* elements which imports will be resolved and will replace `@material/web/all.js` (In 'all' mode it should be all md-* elements found throughout the project. In 'perFile' mode this parameter is optional but can be used to provide additional elements to bundle.) * @param includeComments Whether to include commented elements in perFile mode (defaults to false) */ export declare function transform(code: string, id: string, mode?: TransformationMode, elements?: string[], includeComments?: boolean): Promise; export declare function perFileTransform(code: string, id: string, additionalElements: string[], includeComments: boolean): string; export declare function allTransformation(code: string, id: string, elements: string[]): string; //# sourceMappingURL=transform.d.ts.map