///
///
import type {
Application,
Env,
ObjectOf,
RedirectResponse,
ExtendedFacade,
ResponseRenderer,
ViewFactory,
Response as HttpResponse,
HttpRequest,
SessionManager,
} from "./dist";
import type { SuperAgentTest } from "supertest";
declare global {
var app: (
abstract?: T | string | symbol | null,
params?: any
) => T extends null ? Application : T;
var base_path: Application["basePath"];
var storage_path: Application["storagePath"];
var config: (key?: string | undefined, defaultValue?: T) => T;
var env: Env["get"];
var get_current_dir: (importMetaUrl: string) => string;
var redirect: (url: string) => RedirectResponse;
var back: () => RedirectResponse;
var sha1: (value: string) => string;
var stub_path: (path?: string) => string;
var lunox_path: (path?: string) => string;
var abort: (
code: number,
message?: string,
headers?: ObjectOf
) => void;
var is_class: (instance: any) => boolean;
var walkDir: (path: string) => Promise;
var agent: SuperAgentTest;
var get_class_methods: (instance: any) => string[];
var request: () => HttpRequest;
var session: () => SessionManager;
}