export interface ImportOptions { /** * The path to the app to be imported */ dir?: string; /** * Whether to use sensible defaults or prompt the user visually */ interactive?: boolean; /** * An async function that returns true or false in order to confirm the start * of importing */ confirmImport?: () => Promise; /** * An async function that returns whether the import should continue if it * looks like a forge project already */ shouldContinueOnExisting?: () => Promise; /** * An async function that returns whether the given dependency should be removed */ shouldRemoveDependency?: (dependency: string, explanation: string) => Promise; /** * An async function that returns whether the given script should be overridden with a forge one */ shouldUpdateScript?: (scriptName: string, newValue: string) => Promise; /** * The path to the directory containing generated distributables */ outDir?: string; } declare const _default: ({ dir, interactive, confirmImport, shouldContinueOnExisting, shouldRemoveDependency, shouldUpdateScript, outDir, }: ImportOptions) => Promise; export default _default;