import ts from "typescript"; export type DeclarationShapes = Map; export declare function collectDeclarationShapes(sourceFile: ts.SourceFile): DeclarationShapes; export type InlineReference = (reference: ts.TypeReferenceNode) => string | undefined; export declare function memberShape(member: ts.Node, inline?: InlineReference): string | undefined; export declare function signatureShape(declaration: ts.SignatureDeclaration, inline?: InlineReference): string; export declare function classShape(declaration: ts.ClassDeclaration): string; export declare function normalize(node: ts.Node, inline?: InlineReference): string; export declare function referencedTypeNames(node: ts.Node): Set; export declare function indexTypeDeclarations(sourceFile: ts.SourceFile): Map; export declare function typeHashes(index: Map): (name: string) => string | undefined; export declare function parseShape(shape: string): ts.Node | undefined;