import { type LogTestGizmo, type LogTestGizmoOptions } from '@just-web/log/testing'; import type { IdGizmo, IdGizmoOptions } from './just_web_id.js'; export type JustAppTestOptions = Partial & { log?: LogTestGizmoOptions | undefined; }; /** * Create a test jest-app. * * It contains a log gizmo with memory reporter by default. * * ```ts * const app = await justTestApp().create() * app.log.info('hello') * app.log.reporter.... // to inspect the logs * ``` */ export declare function justTestApp(options?: JustAppTestOptions): import("@unional/gizmo").GizmoIncubator<{ id: string; name: string; } & { log: import("type-plus").Pick._, "logLevel" | "toLogLevelName" | "toLogLevel" | "getNonConsoleLogger"> & import("type-plus").Pick._, "emergency" | "alert" | "critical" | "error" | "warn" | "notice" | "info" | "debug" | "trace" | "planck" | "count" | "on"> & { getLogger(id?: string, options?: import("@just-web/log/testing").LoggerOptions): import("@just-web/log/testing").Logger; } & { reporter: import("@just-web/log/testing").MemoryLogReporter; }; }>; export type JustTestApp = IdGizmo & LogTestGizmo; //# sourceMappingURL=just_app.testing.d.ts.map