import type FavaLibMediator from '../../FavaLibMediator.mjs'; import Command from '../BaseCommand.mjs'; import type { DeviceId } from '../../interfaces/SyncTypes.mjs'; export interface RemoveSyncDeviceData { deviceId: DeviceId; } /** * Represents a command that when executed removes a sync device from the vault. */ declare class RemoveSyncDeviceCommand extends Command { /** * Creates a new RemoveSyncDeviceCommand instance. * @inheritdoc * @param data - The id of the device to be removed. */ constructor(data: RemoveSyncDeviceData, id?: string, timestamp?: number, version?: string, fromRemote?: boolean, fromDeviceId?: DeviceId); /** * Executes the command to remove a sync device * @inheritdoc * @throws {InvalidCommandError} If the command data is invalid. */ execute(mediator: FavaLibMediator): Promise; /** * @inheritdoc */ createUndoCommand(): Command; /** * Validates the command data. * @returns True if the command data is valid, false otherwise. */ validate(): boolean; } export default RemoveSyncDeviceCommand;