import { Observable } from "rxjs";
import type { DeviceInfo } from "@ledgerhq/types-live";
import type { Action, Device } from "./types";
import { RenameDeviceEvent, RenameDeviceRequest, Input as RenameDeviceInput } from "../renameDevice";
type RenameDeviceState = {
    isLoading: boolean;
    allowRenamingRequested: boolean;
    unresponsive: boolean;
    device: Device | null | undefined;
    deviceInfo: DeviceInfo | null | undefined;
    error: Error | null | undefined;
    completed?: boolean;
    name: string;
    onRetry?: () => void;
};
type RenameDeviceAction = Action<RenameDeviceRequest, RenameDeviceState, string>;
export declare const createAction: (task: (arg0: RenameDeviceInput) => Observable<RenameDeviceEvent>) => RenameDeviceAction;
export {};
//# sourceMappingURL=renameDevice.d.ts.map