import type { Plugin } from "vitest/config"; import { type HeadlessOptions } from "./headless-display.ts"; /** * Options accepted by the GTKX Vitest plugin. Every headless display * setting is optional and falls back to a built-in default when omitted. */ type PluginOptions = Partial; /** * Vitest plugin that runs each test worker against its own isolated headless * Wayland display. It configures the forks pool, injects the worker preload and * setup files, and sets the environment needed for headless GTK4 rendering. * * @param options Headless display settings (size, compositor) forwarded to each worker. * @returns A Vitest config plugin. */ declare const gtkx: (options?: PluginOptions) => Plugin; export default gtkx; export { type CompositorId, type HeadlessOptions } from "./headless-display.ts"; export { type PluginOptions }; //# sourceMappingURL=index.d.ts.map