import * as jose from 'jose';
export declare const PROTOCOL_ID = "mB:pigi2";
interface PigiV2 {
    _secret1: Uint8Array;
    _secret1Hex: string;
    _secret1Base62: string;
    _secret2: Uint8Array;
    _secret2Hex: string;
    _secret2Base62: string;
    encryptedData: Uint8Array;
}
export declare function create(data: Uint8Array, signingKeys: Array<CryptoKey>, options: {
    filename: string;
    mimetype: string;
}): Promise<PigiV2>;
export declare function parse(data: Uint8Array, secret1: Uint8Array, secret2: Uint8Array, verifyKey: jose.KeyLike | jose.GeneralVerifyGetKey): Promise<{
    _filename: any;
    _mimetype: any;
    _plainData: any;
}>;
export {};
