import { DistinctQuestion } from "inquirer";
import type { ConfigNote } from "../plugins";
import type { ToolArgv } from "../types/toolArgv";
import type { ArgvOpts, HandleGeneralPromptsCallback } from "../types/toolOpts";
import type { TestplaneConfig, Language } from "../types";
export declare const optsFromArgv: (argv: ToolArgv) => ArgvOpts;
export declare const packageNameFromPlugin: (plugin: string) => string;
export declare const askQuestion: <T>(question: DistinctQuestion<Record<string, T>>) => Promise<T>;
export declare const baseGeneralPromptsHandler: HandleGeneralPromptsCallback;
export declare const printSuccessMessage: (configNotes: ConfigNote[]) => void;
export declare const writeTestExample: (dirPath: string, ext: Language) => Promise<void>;
type VariableOpts = {
    name: string;
    value: string;
    isExpr?: boolean;
};
export declare const defineVariable: (config: TestplaneConfig, { name, value, isExpr }: VariableOpts) => TestplaneConfig;
export declare const addModule: (config: TestplaneConfig, variableName: string, moduleName?: string) => TestplaneConfig;
export declare const asExpression: (value: string) => string;
export declare const extendWithTypescript: (packageNamesToInstall: string[], appPath: string) => Promise<void>;
export {};
