import { TypeNamesTracker } from '@utam/types'; export declare const PRIVATE_PREFIX = "__"; export declare function kebabcaseToCamelcase(name: string, ignoreNamespace?: boolean): string; export declare function capitalize(str: string): string; /** * generate method name from an element name, ex. my_button -> getMyButton * @param name element name like 'myButton' * @param isPublic passed as true if method is public */ export declare function elementToMethodName(name: string, isPublic?: boolean): string; /** * Generate unique names for hoisted function declaration * * @param baseName current candidate for the hoisted selector function identifier without any suffix * @param existingNames the set of names already processed for the elements that have been visited * @returns the current candidate if no collisions, otherwise the current candidate plus a suffix */ export declare function generateUniqueSelectorFunctionName(baseName: string, existingNames: Set): string; /** * generate a waitFor method name from an element name * @param name element name like 'myButton' * @param isPublic passed as true if the method is public * @returns A string, like '__waitForMyButton' */ export declare function waitElementToMethodName(name: string, isPublic?: boolean): string; /** * generate an element name from an method, ex. __getMyButton -> myButton * @param name method name like '__getMyButton' */ export declare function methodToElementName(name: string): string; /** * Generate the module import name from the module path * @param moduleSpecifier module path (i.e package-name/path/to/po) * @param typesTracker tracks names collisions * @returns the module import name */ export declare function buildImportNameFromModulePath(moduleSpecifier: string, typesTracker: TypeNamesTracker): string; /** * Returns generated import name for custom elements and extensions * @param moduleSpecifier module path specifier * @param typesTracker tracks names collisions * @returns the import name of the module */ export declare function getImportNameFromPath(moduleSpecifier: string, typesTracker: TypeNamesTracker): string; //# sourceMappingURL=naming.d.ts.map