import { type CwdOption } from '../utils/file-operations';
import type { PackageJson } from '../interfaces';
/** Generates an action file name out of the action name */
export declare function nameToActionFileName(name: string): string;
/** Generates an action test file name out of the action name */
export declare function nameToActionTestFileName(name: string): string;
/** Check if an action with the name already exists */
export declare function checkIfActionExists(options: {
    /** Relative path where the actions are located */
    actionsDir: string;
    /** The name of the action to check for existence. */
    name: string;
} & CwdOption): boolean;
/** Check if an action with the name already exists */
export declare function checkIfActionTestExists(options: {
    /** Relative path where the actions are located */
    actionsDir: string;
    /** The name of the action to check for existence. */
    name: string;
} & CwdOption): boolean;
/** Check if an action with the name already exists */
export declare function checkIfWidgetExists(options: {
    /** Relative path where the actions are located */
    actionsDir: string;
    /** The name of the widget to check for existence. */
    name: string;
} & CwdOption): boolean;
/** Check if a widget with the name already exists */
export declare function checkIfWidgetTestExists(options: {
    /** Relative path where the actions widgets are located */
    actionsDir: string;
    /** The name of the widget to check for existence. */
    name: string;
} & CwdOption): boolean;
/** Generates a widget file name out of the action name */
export declare function nameToWidgetFileName(name: string): string;
/** Generates a widget test file name out of the action name */
export declare function nameToWidgetTestFileName(name: string): string;
/** Converts `string` to title case. */
export declare function titleCase(string?: string): string;
/** Installs the specified dependencies into a project's `package.json`. */
export declare function installDependencies(options: {
    /** An array of [dependency, version] tuples to install. */
    dependencies: string[][];
    /**  The type of the dependencies to install. */
    dependenciesType: 'dependencies' | 'devDependencies';
    /** If true, simulates installation without altering the file system.. */
    dryRun?: boolean;
} & CwdOption): Promise<void>;
/** Get package json content. */
export declare function getPackageJson(options: CwdOption): PackageJson;
