/** * Effect `Socket` utilities for Frida. * * @since 1.0.0 */ import type * as Effect from "effect/Effect"; import type * as EffectSocket from "effect/socket/Socket"; /** * @since 1.0.0 * @category Network * @see https://frida.re/docs/javascript-api/#socketconnection */ export declare const liftSocketConnection: (socketConnection: SocketConnection) => Effect.Effect; /** * Connect to a TCP or UNIX server. * * @since 1.0.0 * @category Network */ export declare const connect: (options: SocketConnectOptions) => Effect.Effect; /** * Opens a TCP or UNIX listening socket. Defaults to listening on both IPv4 and * IPv6, if supported, and binding on all interfaces on a randomly selected TCP * port. * * @since 1.0.0 * @category Network */ export declare const listen: (options?: (SocketListenOptions & { readonly closeCodeIsError?: (code: number) => boolean; }) | undefined) => Effect.Effect; //# sourceMappingURL=Socket.d.ts.map