import { Uint8ArrayList } from 'uint8arraylist';
import type { DecoderOptions } from './index.ts';
import type { Reader } from 'it-reader';
import type { Source } from 'it-stream-types';
export declare function decode<T extends ArrayBufferLike = ArrayBufferLike>(source: Iterable<Uint8ArrayList<T> | Uint8Array<T>>, options?: DecoderOptions): Generator<Uint8ArrayList<T>, void, unknown>;
export declare function decode<T extends ArrayBufferLike = ArrayBufferLike>(source: Source<Uint8ArrayList<T> | Uint8Array<T>>, options?: DecoderOptions): AsyncGenerator<Uint8ArrayList<T>, void, unknown>;
export declare namespace decode {
    var fromReader: (reader: Reader, options?: DecoderOptions) => AsyncGenerator<Uint8ArrayList<ArrayBufferLike>, void, unknown>;
}
//# sourceMappingURL=decode.d.ts.map