import { SyntaxKind, Node } from 'ts-morph'; export declare const MAX_SIGNATURE_LENGTH = 200; /** * Compress a generic type like Task> -> Task<...> * but keep simple types like string, number, void, boolean unchanged. */ export declare function compressType(typeStr: string): string; /** * Truncate a members-based signature (class, interface) at the last complete * member boundary, adding a count of what's left. */ export declare function truncMemberSig(parts: string[], totalMembers: number, prefix?: string): string; /** * Collapse multiline destructured params into compact prop names. * "({ asChild = false, isActive = false, variant = "default", ...props }: Type) => any" * becomes: "({ asChild?, isActive?, variant?, ...props }) => any" */ export declare function compactFunctionSig(rawSig: string): string; export declare function extractSignature(node: Node, kind: SyntaxKind): string | undefined;