import { IScope } from './scope'; /** * A symbol is a name for a thing that lives in a scope. * * It is not renderable by itself, but it can be converted into to an * 'Expression' by looking it up against (for example) imports. The Expression * will be renderable. * * Symbols currently aren't annotated with what they refer to... but they could be. */ export declare class ThingSymbol { readonly name: string; readonly scope: IScope; constructor(name: string, scope: IScope); /** * Change the name of a symbol while keeping the scope the same */ changeName(newName: string | ((x: string) => string)): ThingSymbol; /** * Find the declaration that this symbol references */ findDeclaration(): import("./type-declaration").TypeDeclaration; toString(): string; }