/** * Uniformly retrieves the entity name (contract, script, etc.) from positional arguments. * @param args - Command line arguments array (including command and entity name). * @param prompt - Optional function for interactive input if the name is not provided. * @returns {Promise} The entity name or undefined if not found and no prompt provided. */ export declare function getEntityName(args: string[], prompt?: () => Promise): Promise;