import { HybridObject } from "react-native-nitro-modules"; export interface InputStream extends HybridObject<{ ios: "swift"; android: "kotlin"; }> { read(): Promise; open(): void; close(): void; } export interface OutputStream extends HybridObject<{ ios: "swift"; android: "kotlin"; }> { write(buffer: ArrayBuffer): Promise; open(): void; close(): void; } interface DuplexStream extends HybridObject<{ ios: "swift"; android: "kotlin"; }> { inputStream: InputStream; outputStream: OutputStream; } export declare const DuplexStream: new () => DuplexStream; export {}; //# sourceMappingURL=streams.nitro.d.ts.map