"use strict";
/* Socket Lib - Built with rolldown */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const require_node_fs = require('../node/fs.js');
const require_node_path = require('../node/path.js');
let src_external__sinclair_typebox = require("../external/@sinclair/typebox");

//#region src/ipc/_internal.ts
/**
* @file Private internals for `ipc/*` modules — lazy node:fs / node:path
*   accessors, the IpcStub schema, and the shared platform check. Used by every
*   public IPC entrypoint.
*/
/**
* IPC stub file schema - validates the structure of stub files. Stub files are
* used for passing data between processes via filesystem.
*/
const IpcStubSchema = src_external__sinclair_typebox.Type.Object({
	/**
	* Process ID that created the stub.
	*/
	pid: src_external__sinclair_typebox.Type.Integer({ minimum: 1 }),
	/**
	* Creation timestamp for age validation.
	*/
	timestamp: src_external__sinclair_typebox.Type.Number({ exclusiveMinimum: 0 }),
	/**
	* The actual data payload.
	*/
	data: src_external__sinclair_typebox.Type.Unknown()
});

//#endregion
exports.IpcStubSchema = IpcStubSchema;
exports.getFs = require_node_fs.getNodeFs;
exports.getPath = require_node_path.getNodePath;