import { type MqttConfig } from "./mqtt-transport.js";
interface EnrollmentOptions {
    serverUrl: string;
    userId: string;
    deviceId: string;
    accessToken: string;
    /** RemoteChannel invalidates asynchronous enrollment when sign-out or shutdown occurs. */
    assertSessionStillActive?: () => void;
}
/**
 * Enroll once using the existing authenticated session, or reuse this profile's credentials.
 * Only the CSR leaves the device. The backend owns authorization and AWS policy attachment.
 */
export declare function enrollMqttDevice(options: EnrollmentOptions): Promise<MqttConfig>;
export {};
