import { PlannedFile } from "../../io/file-writer"; export interface AddCommandPlan { name: string; feature: string; featuresRoot: string; } export declare function createCommandFiles(plan: AddCommandPlan): PlannedFile[]; export declare function createCommandIndexFile(feature: string, featuresRoot: string, commandNames: string[]): PlannedFile; export interface CqrsFeatureImports { commands: string[]; queries?: string[]; } export declare function createCqrsConfigFile(featuresRoot: string, importsByKind: CqrsFeatureImports | string[]): PlannedFile; export declare function commandNameFromPath(filePath: string): string | undefined; export declare function commandFeatureFromPath(filePath: string, featuresRoot: string): string | undefined;