import type { EncodeFunction, DecodeFunction, Codec, StreamFunction } from '../codec.ts';
export interface Factory<A, T> {
    new (obj: A): T;
}
export declare function message<T>(encode: EncodeFunction<T>, decode: DecodeFunction<T>, stream: StreamFunction<T>): Codec<T>;
//# sourceMappingURL=message.d.ts.map