import { Observable } from "rxjs";
export type RenameDeviceEvent = {
    type: "quit-app";
} | {
    type: "on-dashboard";
} | {
    type: "unresponsiveDevice";
} | {
    type: "permission-requested";
} | {
    type: "device-renamed";
    name: string;
} | {
    type: "waiting-device";
} | {
    type: "disconnected";
    expected?: boolean;
} | {
    type: "error";
    error: Error;
};
export type RenameDeviceRequest = {
    name: string;
};
export type Input = {
    deviceId: string;
    request: RenameDeviceRequest;
};
export default function renameDevice({ deviceId, request }: Input): Observable<RenameDeviceEvent>;
//# sourceMappingURL=renameDevice.d.ts.map