# Installation
> `npm install --save @types/babel__standalone`

# Summary
This package contains type definitions for @babel/standalone (https://github.com/babel/babel/tree/master/packages/babel-standalone).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__standalone.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__standalone/index.d.ts)
````ts
import { BabelFileResult, FileResultCallback, TransformOptions, types } from "@babel/core";

export function transform(code: string, options: TransformOptions): BabelFileResult;

export function transformFromAst(
    ast: types.Node,
    code: string | undefined,
    opts: TransformOptions | undefined,
    callback?: FileResultCallback,
): void;

export function registerPlugin(name: string, plugin: object | (() => void)): void;

export function registerPlugins(newPlugins: {
    [key: string]: object | (() => void);
}): void;

export function registerPreset(name: string, preset: object | (() => void)): void;
export function registerPresets(newPresets: {
    [key: string]: object | (() => void);
}): void;

export const availablePlugins: Record<string, object | (() => void)>;
export const availablePresets: Record<string, object | (() => void)>;

export function transformScriptTags(scriptTags?: HTMLCollection): void;

export function disableScriptTags(): void;

export as namespace babel;

import * as generator from "@babel/generator";
import parser from "@babel/parser";
import * as template from "@babel/template";
import * as traverse from "@babel/traverse";
import type t from "@babel/types";
export const packages: {
    generator: typeof generator;
    parser: typeof parser;
    template: typeof template;
    traverse: typeof traverse;
    types: typeof t;
};

````

### Additional Details
 * Last updated: Tue, 12 Nov 2024 05:02:20 GMT
 * Dependencies: [@babel/parser](https://npmjs.com/package/@babel/parser), [@babel/types](https://npmjs.com/package/@babel/types), [@types/babel__core](https://npmjs.com/package/@types/babel__core), [@types/babel__generator](https://npmjs.com/package/@types/babel__generator), [@types/babel__template](https://npmjs.com/package/@types/babel__template), [@types/babel__traverse](https://npmjs.com/package/@types/babel__traverse)

# Credits
These definitions were written by .
