File size: 406 Bytes
bc20498
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import type { AST } from 'svelte-eslint-parser';
import type { RuleContext } from '../../../types';
import type { TransformResult } from './types';
/**
 * 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;