import { confirm, input, select } from "@inquirer/prompts"; export interface DeviceWizardOptions { context: string; gatewayOrigin: string; platform: string; suggestedWorkerId: string; /** * Bearer for `GET /api/me/devices`. Either the installation's OAuth login * (login-based setup) or an explicit `WORKER_API_TOKEN` — the wizard only * lists devices, so it never depends on which one it was handed. */ authorizationToken: string; prompts?: DeviceWizardPrompts; } export interface DeviceWizardResult { workerId: string; source: "reused" | "created"; } export interface DeviceWizardPrompts { select: (config: Parameters[0]) => Promise; confirm: (config: Parameters[0]) => Promise; input: (config: Parameters[0]) => Promise; } export declare function deviceWizard(options: DeviceWizardOptions): Promise; //# sourceMappingURL=device-wizard.d.ts.map