import { site, user } from "dbgen"; import { ExecaChildProcess } from "execa"; declare global { const Y: typeof Y; const syncronize: typeof Y.syncronize; } export const glb = global as unknown as { lastUpdate: Record; prasiSrv: { status: Record< string, | "unavailable" | "installing" | "starting" | "started" | "stopped" | "destroying" >; running: Record; }; npm: { page: Record; site: Record; }; }; export type Session = { user: user & { site: site[] }; };