async function resolveModuleAsync(packageName, revision, options) {
    var _a, _b, _c;
    const podspecFile = await findPodspecFile(revision);
    if (!podspecFile) {
        return null;
    }
    const podName = path_1.default.basename(podspecFile, path_1.default.extname(podspecFile));
    const podspecDir = path_1.default.dirname(path_1.default.join(revision.path, podspecFile));
    return {
        podName,
        podspecDir,
        flags: options.flags,
        modulesClassNames: (_a = revision.config) === null || _a === void 0 ? void 0 : _a.iosModulesClassNames(),
        appDelegateSubscribers: (_b = revision.config) === null || _b === void 0 ? void 0 : _b.iosAppDelegateSubscribers(),
        reactDelegateHandlers: (_c = revision.config) === null || _c === void 0 ? void 0 : _c.iosReactDelegateHandlers(),
    };
}
/**
 * Resolves module search result with additional details required for iOS platform.
 */
Resolves module search result with additional details required for iOS platform.
Resolves module search result with additional details required for iOS platform .
async function resolveModuleAsync(packageName, revision, options) {
    var _a, _b, _c;
    const podspecFile = await findPodspecFile(revision);
    if (!podspecFile) {
        return null;
    }
    const podName = path_1.default.basename(podspecFile, path_1.default.extname(podspecFile));
    const podspecDir = path_1.default.dirname(path_1.default.join(revision.path, podspecFile));
    return {
        podName,
        podspecDir,
        flags: options.flags,
        modulesClassNames: (_a = revision.config) === null || _a === void 0 ? void 0 : _a.iosModulesClassNames(),
        appDelegateSubscribers: (_b = revision.config) === null || _b === void 0 ? void 0 : _b.iosAppDelegateSubscribers(),
        reactDelegateHandlers: (_c = revision.config) === null || _c === void 0 ? void 0 : _c.iosReactDelegateHandlers(),
    };
}
async function resolveModuleAsync ( packageName , revision , options ) { var _a , _b , _c ; const podspecFile = await findPodspecFile ( revision ) ; if ( ! podspecFile ) { return null ; } const podName = path_1 . default . basename ( podspecFile , path_1 . default . extname ( podspecFile ) ) ; const podspecDir = path_1 . default . dirname ( path_1 . default . join ( revision . path , podspecFile ) ) ; return { podName , podspecDir , flags : options . flags , modulesClassNames : ( _a = revision . config ) === null || _a === void 0 ? void 0 : _a . iosModulesClassNames ( ) , appDelegateSubscribers : ( _b = revision . config ) === null || _b === void 0 ? void 0 : _b . iosAppDelegateSubscribers ( ) , reactDelegateHandlers : ( _c = revision . config ) === null || _c === void 0 ? void 0 : _c . iosReactDelegateHandlers ( ) , } ; }
Resolves module search result with additional details required for iOS platform.
Resolves module search result with additional details required for iOS platform .