import { SourceFile } from '../sourcefile'; import { AST } from './class'; /** * ASTSource constructor. * * Lines are 1 indexed while everything else is 0 indexed. * This matches most other common AST formats used. */ export declare class ASTSource extends AST { /** * Start line, 1 indexed. */ startLine: number; /** * Start column, 0 indexed. */ startColumn: number; /** * Start index, 0 indexed. */ startIndex: number; /** * Stop line, 1 indexed. */ stopLine: number; /** * Stop column, 0 indexed. */ stopColumn: number; /** * Stop index, 0 indexed. */ stopIndex: number; /** * Source file. */ file: SourceFile; constructor(); /** * Copy instance. * * @returns Copied instance. */ copy(): this; }