# WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.7

import datetime
import sys
import types
import typing

import winsdk._winrt as _winrt
import winsdk.windows.foundation
import winsdk.windows.storage.streams

Self = typing.TypeVar('Self')

class DataProtectionProvider(_winrt.Object):
    @staticmethod
    def _from(obj: _winrt.Object) -> DataProtectionProvider: ...
    @typing.overload
    def __new__(cls: typing.Type[DataProtectionProvider], protection_descriptor: str) -> DataProtectionProvider:...
    @typing.overload
    def __new__(cls: typing.Type[DataProtectionProvider]) -> DataProtectionProvider:...
    def protect_async(self, data: typing.Optional[winsdk.windows.storage.streams.IBuffer]) -> winsdk.windows.foundation.IAsyncOperation[winsdk.windows.storage.streams.IBuffer]: ...
    def protect_stream_async(self, src: typing.Optional[winsdk.windows.storage.streams.IInputStream], dest: typing.Optional[winsdk.windows.storage.streams.IOutputStream]) -> typing.Optional[winsdk.windows.foundation.IAsyncAction]: ...
    def unprotect_async(self, data: typing.Optional[winsdk.windows.storage.streams.IBuffer]) -> winsdk.windows.foundation.IAsyncOperation[winsdk.windows.storage.streams.IBuffer]: ...
    def unprotect_stream_async(self, src: typing.Optional[winsdk.windows.storage.streams.IInputStream], dest: typing.Optional[winsdk.windows.storage.streams.IOutputStream]) -> typing.Optional[winsdk.windows.foundation.IAsyncAction]: ...

