lumarc-grid
Version:
lumArc Grid는 고성능, 유연하고 프레임워크에 구애받지 않는 데이터 그리드 라이브러리
25 lines • 1.8 kB
TypeScript
import { ClassValue } from 'clsx';
export declare function cn(...inputs: ClassValue[]): string;
export declare function getNestedValue(obj: any, path: string): any;
export declare function setNestedValue(obj: any, path: string, value: any): void;
export declare function stableSort<T>(array: T[], compareFn: (a: T, b: T) => number): T[];
export declare function chunk<T>(array: T[], size: number): T[][];
export declare function escapeRegExp(string: string): string;
export declare function normalizeString(str: string): string;
export declare function clamp(value: number, min: number, max: number): number;
export declare function formatNumber(value: number, decimals?: number): string;
export declare function formatDate(date: Date | string, format?: string): string;
export declare function debounce<T extends (...args: any[]) => any>(func: T, wait: number, immediate?: boolean): (...args: Parameters<T>) => void;
export declare function isNumber(value: any): value is number;
export declare function isString(value: any): value is string;
export declare function isDate(value: any): value is Date;
export declare function isBoolean(value: any): value is boolean;
export declare function deepClone<T>(obj: T): T;
export declare function omit<T extends object, K extends keyof T>(obj: T, keys: K[]): Omit<T, K>;
export declare function pick<T extends object, K extends keyof T>(obj: T, keys: K[]): Pick<T, K>;
export declare function generateId(prefix?: string): string;
export declare function downloadFile(content: string, filename: string, contentType: string): void;
export declare function measurePerformance<T>(fn: () => T, label?: string): T;
export declare function createError(message: string, code?: string): Error;
export * from './row-key-utils';
//# sourceMappingURL=index.d.ts.map