---@meta local old_cpath = package.cpath local cfg = require("gears.filesystem").get_configuration_dir() package.cpath = package.cpath .. ";" .. cfg .. "quarrel/native/lib?.so" ---@class Entry ---@field message string ---@field exec { [1]: string, [2]: boolean }? ---@alias query fun(input: string): Entry[] ---@class Lenses ---@field [1] query Calculator lense ---@field [2] query Application lense ---@alias ReadMode "l" | "n" | string ---@class FileHandle ---@field read fun(self, mode: ReadMode): string | number ---@field write fun(self, content: string): number ---@field lines fun(self): string[] ---@field rewind fun(self) ---@class Util ---@field decode_html fun(input: string): string ---@field open_file fun(path: string): FileHandle ---@class Net ---@field get_essid fun(): string ---@class QuarrelNative ---@field lenses Lenses ---@field util Util ---@field net Net local qnative = require "qnative" package.cpath = old_cpath return qnative