import { type StepContext } from './context.js'; type PollControl = 'back' | 'cancel'; type VerificationInput = Pick & { isTTY?: boolean; isRaw?: boolean; setRawMode?: (mode: boolean) => unknown; }; /** 01 — Dashboard email/password or SSO flow (login or register). */ export declare function stepDashboardAuth(ctx: StepContext): Promise; /** 02 — Resolve the active organization (picker when the user has several). */ export declare function stepOrg(ctx: StepContext): Promise; /** 03 — Find or create the sandbox application for this project. */ export declare function stepApp(ctx: StepContext): Promise; /** 04 — Reuse the tracked deployment key, or stage a bounded replacement. */ export declare function stepApiKey(ctx: StepContext): Promise; /** 03b/05a — Ensure the application has the `nylas` connector required by Nylas Connect. */ export declare function stepConnector(ctx: StepContext): Promise; /** Gather the email-domain choice before creating any remote OwnMail resources. */ export declare function stepDomainPlan(ctx: StepContext): Promise; /** 05 — Create or resume the org's planned inbox domain. */ export declare function stepDomain(ctx: StepContext): Promise; export declare function watchVerificationControls(input?: VerificationInput): { wait: Promise; current: () => PollControl | null; dispose: () => void; }; /** 06 — Create the Agent Account mailbox grant with an app password. */ export declare function stepGrant(ctx: StepContext): Promise; export declare class CancelledError extends Error { constructor(); } export {}; //# sourceMappingURL=provision.d.ts.map