import type { AbortOptions } from '@libp2p/interface';
import type { LengthPrefixedStream } from '@libp2p/utils';
/**
 * Read a length-prefixed string from the passed stream, stripping the final newline character
 */
export declare function readString(reader: LengthPrefixedStream<any>, options?: AbortOptions): Promise<string>;
//# sourceMappingURL=multistream.d.ts.map