/// <reference types="node" />
import { MessageReader } from './messageReader';
import { MessageWriter } from './messageWriter';
export declare function generateRandomPipeName(): string;
export interface PipeTransport {
    onConnected(): Promise<[MessageReader, MessageWriter]>;
}
export declare function createClientPipeTransport(pipeName: string, encoding?: BufferEncoding): Promise<PipeTransport>;
export declare function createServerPipeTransport(pipeName: string, encoding?: BufferEncoding): [MessageReader, MessageWriter];
