import type { ObjectOf } from "./Types"; import type Application from "./Foundation/Application"; import type Env from "./Support/Env"; import type ViewFactory from "./View/Factory"; import RedirectResponse from "./Http/RedirectResponse"; import type { SuperAgentTest } from "supertest"; declare global { var app: (abstract?: T | string | 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 view: ViewFactory["make"]; 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[]; }