import { Uint8ArrayList } from 'uint8arraylist';
import type { EncoderOptions } from './index.ts';
import type { Source } from 'it-stream-types';
export declare function encode<T extends ArrayBufferLike = ArrayBufferLike>(source: Iterable<Uint8ArrayList<T> | Uint8Array<T>>, options?: EncoderOptions): Generator<Uint8Array<T | ArrayBuffer>, void, undefined>;
export declare function encode<T extends ArrayBufferLike = ArrayBufferLike>(source: Source<Uint8ArrayList<T> | Uint8Array<T>>, options?: EncoderOptions): AsyncGenerator<Uint8Array<T | ArrayBuffer>, void, undefined>;
export declare namespace encode {
    var single: (chunk: Uint8ArrayList | Uint8Array, options?: EncoderOptions) => Uint8ArrayList<ArrayBufferLike>;
}
//# sourceMappingURL=encode.d.ts.map