import { default as userEvent } from './user-event/index.js'; import { TestInstance } from './types.js'; import { SpawnOptionsWithoutStdio } from 'node:child_process'; import { BoundFunction } from './get-queries-for-instance.js'; import type * as queries from "./queries/index.js"; export interface RenderOptions { cwd: string; debug: boolean; spawnOpts: Omit; } type UserEvent = typeof userEvent; export type RenderResult = TestInstance & { userEvent: { [P in keyof UserEvent]: BoundFunction; }; } & { [P in keyof typeof queries]: BoundFunction<(typeof queries)[P]>; }; declare function render(command: string, args?: Array, opts?: Partial): Promise; declare function cleanup(): Promise; export { render, cleanup };