import type { INode } from 'svgson'; /** * Convert string to PascalCase. * * @param str The string to convert. * @returns The converted string. */ export declare const toPascalCase: (str: string) => string; /** * Get the component name from a file path. * * @param file The file path. * @returns The component name. */ export declare const getComponentName: (file: string) => string; /** * Remove the SVG tag from a string and snake case attributes. * * @param svg The SVG string. * @returns The cleaned SVG string. */ export declare const removeSvgTag: (svg: string) => string; /** * Parses the svg and gives the data. * * @param file The file path. * @returns The data. */ export declare const getSVGData: (file: string) => Promise<{ HAST: INode; svg: string; }>; /** * Parse the dimensions from the SVG. * * @param HAST The HAST tree. * @returns The dimensions. */ export declare const parseForDimensions: (HAST: INode) => { height: string; width: string; }; /** * Parse the colors from the SVG. * * @param HAST The HAST tree. * @returns The colors. */ export declare const parseForColors: (HAST: INode) => Set; /** * Replace colors in the SVG. * * @param svg The SVG string. * @param colors The colors. * @returns The SVG string with replaced colors. */ export declare const replaceColors: (svg: string, colors: Set) => string; /** * Generate the color default props string. * * @param colors The colors. * @returns The color default props string. */ export declare const generateColorDefaultProps: (colors: Set) => string; /** * Generate the color destruct string. * * @param colors The colors. * @returns The color destruct string. */ export declare const generateColorDestructString: (colors: Set) => string; /** * Generate the color destruct string. * * @param colors The colors. * @returns The color destruct string. */ export declare const generateColorDestructStringPre19: (colors: Set) => string; /** * Generate the color jsdoc types. * * @param colors The colors. * @returns The color jsdoc types. */ export declare const generateColorJsdocType: (colors: Set) => string; /** * Generate the color docs. * * @param colors The colors. * @returns The color docs. */ export declare const generateColorsDocs: (colors: Set) => string; /** * Generate the color types. * * @param colors The colors. * @returns The color types. */ export declare const generateColorTypes: (colors: Set) => string; /** * Generate the color docs. * * @param colors The colors. * @returns The color docs. */ export declare const generateColorsDocsLegacy: (colors: Set) => string; /** * Generate the color proptypes. * * @param colors The colors. * @returns The color proptypes. */ export declare const generateColorPropTypes: (colors: Set) => string;