import * as types from "ast-types"; import { namedTypes as n } from "ast-types"; import { NodePath } from "ast-types/lib/node-path"; declare class FastPath { stack: any[]; constructor(value: n.Node); static from(obj: FastPath | NodePath | n.Node): any; copy(): any; getName(): any; getValue(): any; valueIsDuplicate(): boolean; getNode(count?: number): types.namedTypes.Node; getParentNode(count?: number): types.namedTypes.Node; getParentStatement(): types.namedTypes.Statement; getRootValue(): any; call(callback: Function, ...names: string[]): any; each(callback: Function, ...names: string[]): void; map(callback: Function, ...names: string[]): any[]; hasParens(): boolean; getPrevToken(node?: any): any; getNextToken(node?: any): any; needsParens(assumeExpressionContext?: boolean): any; canBeFirstInStatement(): boolean; firstInStatement(): boolean; isInFirstStatementOfBlock(): boolean; } export default FastPath;