export type SocketOptions = { uid?: number; root?: string }; export const socketPathBytes: number; export function checkedSocketPath(value: unknown): string; export function socketDirectory(identity: unknown, options?: SocketOptions): string; export function socketAddress(identity: unknown, role: string, options?: SocketOptions): string; export function prepareSocketDirectory(identity: unknown, options?: SocketOptions): Promise; export function prepareSocketParent(socket: string): Promise; export function removeEmptySocketDirectory(identity: unknown, options?: SocketOptions): Promise;