import type { ComponentInfo, DevToolsSys } from "../types";
export declare function isMapperFile(fileName: string): boolean;
export declare function getImportPath(sys: DevToolsSys, containingModulePath: string, moduleToImportPath: string): string;
export declare function normalizePathSlash(path: string): string;
export declare function getComponentImportNameFilePath(sys: DevToolsSys, filePath: string): string;
export declare function getComponentImportName(str: string): string;
export declare function getComponentDisplayNameFromFilePath(sys: DevToolsSys, filePath: string): string;
export declare function getComponentImportPath(sys: DevToolsSys, absFilePath: string): string;
export declare function getDisplayFilePath(sys: DevToolsSys, filePath: string): string;
export declare function getComponentDisplayName(str: string): string;
export declare function sortComponents(cmps: ComponentInfo[]): ComponentInfo[];
export declare function getComponentId(sys: DevToolsSys, filePath: string, exportName: string, externalImportPath?: string): Promise<string>;
export declare function getLocalAppId(sys: DevToolsSys): Promise<string>;
export declare function isNumber(v: any): v is number;
export declare function isBoolean(v: any): v is boolean;
export declare function isString(v: any): v is string;
export declare function isValidJsxTag(tag: string): boolean;
export declare function clone<T>(obj: T): T;
export declare function shouldSkipFolder(sys: DevToolsSys, skipFolders: Set<string>, fileName: string): boolean;
export declare function getPackageManager(): string;
export declare function isWindows(): boolean;
export declare function builderNpxPackage(): "\"@builder.io/dev-tools\"" | "@builder.io/agent" | "builder.io";
/**
 * Sanitizes a component name for use in filesystem paths by replacing invalid characters with underscores
 * @param name The component name to sanitize
 * @returns A sanitized string safe for use in filesystem paths
 */
export declare function sanitizeComponentName(name: string): string;
