import { EncoderDecoder } from "../../core";
export declare const BYTE_SWAP_ORDER_REGEX: RegExp;
export declare class ByteSwapConverter implements EncoderDecoder<Uint8Array, Uint8Array> {
    order: string;
    constructor(order: string);
    encode(input: Uint8Array): Uint8Array;
    decode(input: Uint8Array): Uint8Array;
}
/**
 * This function is symetric
 *
 * If we have array A,B,C,D with swap order B2_B3_B0_B1 it returns B,A,D,C
 *
 * @param input array
 * @param order string that defined how to swap bytes
 * @return a new array with byte swap
 */
export declare function swapBytes(input: Uint8Array, order: string): Uint8Array;
