/**
 * @param {import("./viewFactory.js").ViewFactoryOptions} [viewFactoryOptions]
 * @returns
 */
export function createTestViewContext(viewFactoryOptions?: import("./viewFactory.js").ViewFactoryOptions): import("../types/viewContext.js").default;
/**
 * @param {import("./viewFactory.js").ViewFactoryOptions} [viewFactoryOptions]
 * @returns {BroadcastingViewContext}
 */
export function createBroadcastingTestViewContext(viewFactoryOptions?: import("./viewFactory.js").ViewFactoryOptions): BroadcastingViewContext;
export function create<V extends import("./view.js").default>(spec: RootSpec, viewClass: {
    new (...args: any[]): V;
}, ViewFactoryOptions?: import("./viewFactory.js").ViewFactoryOptions): Promise<V>;
export function createAndInitialize<V extends import("./view.js").default>(spec: RootSpec, viewClass: {
    new (...args: any[]): V;
}, context?: ViewContext, options?: {
    noData: boolean;
    implicitRoot: boolean;
}): Promise<V>;
/**
 * Renders a view hierarchy into a debugging layout tree that records the
 * rendered view coordinates.
 *
 * @param {View} view
 * @param {import("./layout/rectangle.js").default} [coords]
 */
export function renderToLayout(view: View, coords?: import("./layout/rectangle.js").default): {
    viewName: string;
    coords: string;
    children: /*elided*/ any[];
    addChild(viewCoords: /*elided*/ any): void;
};
/**
 * Creates a wrapped view hierarchy and renders it into a debugging layout tree.
 *
 * @param {RootSpec} spec
 * @param {import("./viewFactory.js").ViewFactoryOptions} [viewFactoryOptions]
 * @param {import("./layout/rectangle.js").default} [coords]
 */
export function specToLayout(spec: RootSpec, viewFactoryOptions?: import("./viewFactory.js").ViewFactoryOptions, coords?: import("./layout/rectangle.js").default): Promise<{
    viewName: string;
    coords: string;
    children: /*elided*/ any[];
    addChild(viewCoords: /*elided*/ any): void;
}>;
export { createHeadlessEngine };
/**
 * Utils for tests
 * TODO: Find a better place and convention
 */
export type RootSpec = import("../spec/root.js").RootSpec;
/**
 * Utils for tests
 * TODO: Find a better place and convention
 */
export type ViewContext = import("../types/viewContext.js").default;
/**
 * Utils for tests
 * TODO: Find a better place and convention
 */
export type BroadcastingViewContext = ViewContext & {
    emitBroadcast: (root: import("./view.js").default, type: import("../genomeSpy.js").BroadcastEventType, payload?: any) => void;
};
import View from "./view.js";
import { createHeadlessEngine } from "../genomeSpy/headlessBootstrap.js";
//# sourceMappingURL=testUtils.d.ts.map