import type { Command } from 'commander'; export type GoalComposeOptions = { project: string; goal: string; json?: boolean; }; export type LoopDistillOptions = { project: string; apply: boolean; json?: boolean; }; export type LoopPlaceholderOptions = { project: string; json?: boolean; }; export type LoopExportOptions = { loop: string; out: string; project?: string; json?: boolean; }; export type LoopImportOptions = { in: string; as?: string; project?: string; json?: boolean; }; /** `--project`, else the nearest project root above cwd, else cwd. */ export declare function resolveLoopProjectRoot(project: string | undefined): string; /** `--project` + `--json`, the option chain `loop export` and `loop import` share. */ export declare const LOOP_EXPORT_IMPORT_OPTS: (cmd: Command) => Command;