export declare class TypeNode { data: string; parent: TypeNode | null; mapperFn: (node: TypeNode) => string; children: TypeNode[]; index: number; constructor(data: string, parent: TypeNode | null, mapperFn?: (node: TypeNode) => string); toGenerics(): string[]; toString(): string; valueOf(): string; } export declare function parseGenericsOld(type: string, mapperFn?: TypeNodeMapperFn): TypeNode; export declare function parseGenerics(type: string, mapperFn?: TypeNodeMapperFn, parent?: TypeNode | null): TypeNode; export declare type TypeNodeMapperFn = (node: TypeNode) => string;