10 lines
412 B
TypeScript
10 lines
412 B
TypeScript
import type { AST } from 'svelte-eslint-parser';
|
|
import type { RuleContext } from '../../../types.js';
|
|
import type { TransformResult } from './types.js';
|
|
/**
|
|
* Transpile with babel
|
|
*/
|
|
export declare function transform(node: AST.SvelteScriptElement, text: string, context: RuleContext): TransformResult | null;
|
|
/** Check if project has Babel. */
|
|
export declare function hasBabel(context: RuleContext): boolean;
|