import { ProcessModal } from '../../Modal';
interface ISignWithAttrProps {
    docId: number;
    urlInit: string;
    urlSave: string;
    modalTitle?: string;
    actionText?: string;
    onSuccess: (packageId?: number, saveResp?: any) => void;
}
export default class SignWithAttr extends ProcessModal {
    private props;
    private package;
    private m_library;
    private privateKey;
    private privateStamp;
    private m_readedPKey;
    private m_readedSKey;
    private m_updatingKM;
    private m_updateKM;
    private m_KM;
    private isLoading;
    private isLoaded;
    static create(props: ISignWithAttrProps): SignWithAttr;
    constructor(props: ISignWithAttrProps);
    private _makeModal;
    private _makeHandle;
    private handleFileChosen;
    private _handleActionClick;
    private fetchData;
    private saveSignature;
    private _LoadLibrary;
    open(): void;
    private _saveIssuerCN;
    private _getIssuerCN;
    private GetSelectedCA;
    private StopUpdateKMs;
    private GetKMPasswordTextField;
    private base64ToBuffer;
}
export {};
