/** * `slowcook preview deploy --pr ` — 0.16.0-α.5. * * Builds the consumer's mock app remotely on their SSH-reachable box, * runs it as a Docker container, posts the preview URL to the PR. * * Flow: * 1. Read `.brewing/preview.yaml` (host, user, key secret, port range, * URL template, remote root) * 2. tar the local mock/ directory (excluding node_modules + .next) * 3. scp tarball to `${remote_root}/pr-N/` * 4. ssh: extract, `docker build`, allocate port, `docker rm -f` old * container if any, `docker run -d` * 5. Compose URL via `url_template`; upsert PR comment * * The container always exposes 3100 internally (matches the mock's * Dockerfile from `slowcook init mock`); the host port is allocated * from `port_range` and substituted into `url_template`. * * Error semantics: any sub-step failure throws; the caller prints + * exits non-zero. The workflow surfaces the failure as a check on the * PR; consumers can re-run via workflow_dispatch. */ interface ParsedArgs { pr: number | undefined; repoRoot: string; keyPath: string | undefined; owner: string | undefined; repo: string | undefined; dryRun: boolean; } export declare function parseDeployArgs(argv: string[]): ParsedArgs; export declare function deploy(argv: string[], cliVersion: string): Promise; export {}; //# sourceMappingURL=deploy.d.ts.map