import type { InferValue } from '@optique/core/parser'; import type { ConnectReplOptions, ReplSession } from '../lib/session.js'; export declare const args: import("@optique/core").Parser<"async", { readonly action: "deploy"; readonly entry: string | undefined; readonly port: string | undefined; readonly console: true | undefined; readonly erase: true | undefined; readonly force: true | undefined; readonly env: string | undefined; readonly noAutoEnv: true | undefined; readonly noRestart: true | undefined; readonly recover: true | undefined; readonly noMinify: true | undefined; readonly minifier: string | undefined; readonly minifyLevel: string | undefined; readonly noBytecode: true | undefined; readonly noHooks: true | undefined; readonly logLevel: string | undefined; readonly yes: true | undefined; readonly json: true | undefined; readonly agent: true | undefined; }, ["matched", string] | ["parsing", { readonly action: "deploy"; readonly entry: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly port: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly console: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly erase: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly force: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly env: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly noAutoEnv: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly noRestart: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly recover: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly noMinify: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly minifier: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly minifyLevel: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly noBytecode: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly noHooks: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly logLevel: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly yes: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly json: [import("@optique/core").ValueParserResult | undefined] | undefined; readonly agent: [import("@optique/core").ValueParserResult | undefined] | undefined; }] | undefined>; type Props = { args: InferValue; }; /** * Non-Ink deploy: runs as a plain async function. With `--console`, returns * the session + devicePath so the caller can attach `InkReplConsole`; the * session is intentionally not closed here in that case — the Ink-mode * REPL owns it for its lifetime and cleanup happens on `process.exit`. */ export declare function run(config: InferValue, options?: { compat?: ConnectReplOptions['compat']; }): Promise<{ session: ReplSession; devicePath: string; } | null>; /** * Ink component for deploy with interactive device selection. * Handles both plain deploy and --console mode. */ export default function Deploy(props: Props): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=deploy.d.ts.map