import { SetupVisOptions } from "../shared/types.mjs"; import { SetupVisSuiteCommand } from "../shared/commands.types.mjs"; //#region src/setup/create_vis.d.ts /** * Visual test configuration on the client side. */ type VisClientConfigurator | unknown = unknown> = { /** * Setup the visual test configuration. * * @example * ```ts * // Setup with auto snapshot enabled * vis().setup({ auto: true }) * * // Setup with auto snapshot disabled * vis().setup({ auto: false }) * * // Same as `vis.setup({ auto: false })` * vis.setup() * * // Setup with auto snapshot determined by the test meta * vis.setup({ * auto: async ({ meta }) => meta['darkOnly'], * }) * * // Setup with multiple auto snapshots * vis.setup({ * auto: { * async light() { document.body.classList.remove('dark') }, * async dark() { document.body.classList.add('dark') }, * } * }) * ``` */ setup(options?: SetupVisOptions): void; }; declare function createVis | unknown = unknown>(commands: SetupVisSuiteCommand): VisClientConfigurator; //#endregion export { VisClientConfigurator, createVis }; //# sourceMappingURL=create_vis.d.mts.map