using System.Threading.Tasks;
namespace Bit.Core.Abstractions
{
public interface IClipboardService
{
///
/// Copies the to the Clipboard.
/// If is set > 0 then the Clipboard will be cleared after this time in milliseconds.
/// if less than 0 then it takes the configuration that the user set in Options.
///
/// Text to be copied to the Clipboard
/// Expiration time in milliseconds of the copied text
Task CopyTextAsync(string text, int expiresInMs = -1);
}
}