import { IBinaryTree } from '../../common/types'; export declare function isPlainObj(data: any): data is object; export declare function array1dTo2d(data: T[], width?: number): T[][]; export declare function array1dToBinayTree(data: T[]): IBinaryTree | null; export declare function arrayHeapToBinaryTree(data: T[]): IBinaryTree | null; export declare function flipArray2D(data: T[][]): T[][]; export declare const getStringWidth: { (string: string): number; default: any; };