Files
echo-nexus/node_modules/@codesandbox/sandpack-react/dist/utils/stringUtils.d.ts
T

10 lines
390 B
TypeScript

export declare const getFileName: (filePath: string) => string;
export declare const calculateNearestUniquePath: (currentPath: string, otherPaths: string[]) => string;
export declare const hexToRGB: (hex: string) => {
red: number;
green: number;
blue: number;
};
export declare const isDarkColor: (color: string) => boolean;
export declare const generateRandomId: () => string;