import { ValueKind, BrsBoolean, BrsType, BrsValue } from "..";
import { BrsComponent } from "./BrsComponent";
import { Interpreter } from "../../interpreter";
export declare class RoEVPCipher extends BrsComponent implements BrsValue {
    readonly kind = ValueKind.Object;
    private cipher;
    private cipherEncrypt;
    private cipherFormat;
    private cipherKey;
    private cipherIV;
    private cipherPadding;
    constructor();
    toString(parent?: BrsType | undefined): string;
    equalTo(other: BrsType): BrsBoolean;
    setupCipher(_: Interpreter, encrypt: boolean, format: string, key: string, iv: string, padding: boolean): 0 | -1;
    updateData(data: Uint8Array): NonSharedBuffer;
    finalResult(_: Interpreter): NonSharedBuffer | null;
    /** Configures and initializes a new cipher context. */
    private readonly setup;
    /** Re-initializes an existing cipher context, to reuse it to encrypt new data. */
    private readonly reinit;
    /** Processes the included roByteArray containing encrypted/decrypted data. */
    private readonly process;
    /** Updates the included roByteArray containing encrypted/decrypted data. */
    private readonly update;
    /** Signals that all data has been submitted by previous calls to Update(). */
    private readonly final;
}
