export interface RegenFlowOptions { /** The `--regen` argument value, e.g. "all", "functions", "functions:funcA". */ target: string; /** From --config . When set, dirname(resolve(configPath)) is project root. */ configPath?: string; /** From --no-deploy. When true, regen JSON only; skip the push call. */ noDeploy?: boolean; /** * From --force-overwrite-secrets. When true, the post-push variable sync * will overwrite Appwrite-side secret variables. Default is to preserve * them. Per-function `forceOverwriteSecrets: true` in the sidecar wins * over this flag if set. */ forceOverwriteSecrets?: boolean; /** From --endpoint / --projectId / --apiKey on argv. */ argvCredentials?: { endpoint?: string; projectId?: string; apiKey?: string; }; } export declare function runRegenFlow(opts: RegenFlowOptions): Promise;