UNPKG

create-expo-module

Version:

The script to create the Expo module

12 lines (11 loc) 893 B
import type { PromptObject } from 'prompts'; import { type PackageManagerName } from './packageManager'; export declare const ALL_PLATFORMS: readonly ["apple", "android", "web"]; export type Platform = (typeof ALL_PLATFORMS)[number]; export declare function getPlatformPrompt(preSelected?: readonly string[]): PromptObject; export declare function getSlugPrompt(customTargetPath?: string | null): PromptObject<string>; export declare function getLocalFolderNamePrompt(customTargetPath?: string | null): PromptObject<string>; export declare function getSubstitutionDataPrompts(slug: string): Promise<PromptObject<string>[]>; export declare function getFeaturesPrompt(): PromptObject; export declare function getPackageManagerPrompt(defaultPackageManager: PackageManagerName): PromptObject; export declare function getLocalSubstitutionDataPrompts(slug: string): Promise<PromptObject<string>[]>;