export type ExportType = 'binary' | 'base64' | 'hex' | 'utf8';
export type ExportTypeGuard<T extends ExportType> = T extends 'binary' ? Uint8Array : string;
export type Action = 'encrypt' | 'decrypt';
export type AesKeySize = 128 | 192 | 256;
export type AesMode = 'CBC' | 'CTR' | 'ECB' | 'GCM' | 'OFB';
export type KeyEncoding = 'PEM' | 'DER';
export type KeyType = 'RSA' | 'SM2';
export type RsaPadMode = 'oaep' | 'none' | 'pkcs1' | 'x931';
