## API Report File for "@qwik.dev/core"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

import { ClientContainer } from '@qwik.dev/core';
import type { ClientContainer as ClientContainer_2 } from '@qwik.dev/core/internal';
import type { CorePlatform } from '@qwik.dev/core';
import type { _DomContainer } from '@qwik.dev/core/internal';
import type { _ElementVNode } from '@qwik.dev/core/internal';
import type { JSXNodeInternal } from '@qwik.dev/core/internal';
import { JSXOutput } from '@qwik.dev/core';
import type { _QDocument } from '@qwik.dev/core/internal';
import { RenderResult } from '@qwik.dev/core';
import { StreamWriter } from '@qwik.dev/core';
import type { _Stringifiable } from '@qwik.dev/core/internal';
import type { _VirtualVNode } from '@qwik.dev/core/internal';
import type { _VNode } from '@qwik.dev/core/internal';

// Warning: (ae-forgotten-export) The symbol "MockDocumentOptions" needs to be exported by the entry point index.d.ts
//
// @public
export function createDocument(opts?: MockDocumentOptions): Document;

// @public
export const createDOM: (input?: {
    html?: string;
}) => Promise<{
    render: (jsxElement: JSXOutput) => Promise<RenderResult>;
    screen: HTMLElement;
    userEvent: (queryOrElement: string | Element | keyof HTMLElementTagNameMap | null, eventNameCamel: string | keyof WindowEventMap, eventPayload?: any) => Promise<Event | null>;
}>;

// @public (undocumented)
export function domRender(jsx: JSXOutput, opts?: {
    debug?: boolean;
}): Promise<{
    document: Document;
    container: ClientContainer;
    vNode: _VNode | null;
    getStyles: () => Record<string, string | string[]>;
}>;

// @public
export class ElementFixture {
    // Warning: (ae-forgotten-export) The symbol "ElementFixtureOptions" needs to be exported by the entry point index.d.ts
    constructor(options?: ElementFixtureOptions);
    // (undocumented)
    child: HTMLElement;
    // Warning: (ae-forgotten-export) The symbol "MockDocument" needs to be exported by the entry point index.d.ts
    //
    // (undocumented)
    document: MockDocument;
    // (undocumented)
    host: HTMLElement;
    // (undocumented)
    parent: HTMLElement;
    // (undocumented)
    superParent: HTMLElement;
    // Warning: (ae-forgotten-export) The symbol "MockWindow" needs to be exported by the entry point index.d.ts
    //
    // (undocumented)
    window: MockWindow;
}

// @public (undocumented)
export function emulateExecutionOfQwikFuncs(document: Document): void;

// @public (undocumented)
export function expectDOM(actual: Element, expected: string): Promise<void>;

// Warning: (ae-forgotten-export) The symbol "TestPlatform" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export function getTestPlatform(): TestPlatform;

// @public (undocumented)
export interface InOrderAuto {
    // (undocumented)
    maximumChunk?: number;
    // (undocumented)
    maximumInitialChunk?: number;
    // (undocumented)
    strategy: 'auto';
}

// @public (undocumented)
export interface InOrderDirect {
    // (undocumented)
    strategy: 'direct';
}

// @public (undocumented)
export interface InOrderDisabled {
    // (undocumented)
    strategy: 'disabled';
}

// @public (undocumented)
export type InOrderStreaming = InOrderAuto | InOrderDisabled | InOrderDirect;

// @public (undocumented)
export type OutOfOrderStreaming = boolean;

// @public (undocumented)
export function ssrRenderToDom(jsx: JSXOutput, opts?: {
    debug?: boolean;
    raw?: boolean;
    qwikLoader?: boolean;
    containerTagName?: string;
    statePrewarm?: number | false;
    stream?: StreamWriter;
    streaming?: StreamingOptions;
    resume?: boolean;
    onBeforeResume?: (document: Document) => void;
}): Promise<{
    container: _DomContainer;
    document: Document;
    vNode: _VNode | null;
    getStyles: () => Record<string, string | string[]>;
}>;

// @public (undocumented)
export interface StreamingOptions {
    // (undocumented)
    inOrder?: InOrderStreaming;
    // (undocumented)
    outOfOrder?: OutOfOrderStreaming;
}

// @public
export function trigger(root: Element, queryOrElement: string | Element | keyof HTMLElementTagNameMap | null, eventName: string, eventPayload?: any, options?: {
    waitForIdle?: boolean;
}): Promise<Event | null>;

// @public (undocumented)
export function vnode_fromJSX(jsx: JSXOutput): {
    vParent: _ElementVNode | _VirtualVNode;
    vNode: _VNode | null;
    document: _QDocument;
    container: ClientContainer_2;
};

// Warning: (ae-forgotten-export) The symbol "Container" needs to be exported by the entry point index.d.ts
//
// @public
export function waitForDrain(container: Container): Promise<void>;

// @public (undocumented)
export function walkJSX(jsx: JSXOutput, apply: {
    enter: (jsx: JSXNodeInternal) => void;
    leave: (jsx: JSXNodeInternal) => void;
    text: (text: _Stringifiable) => void;
}): void;

// (No @packageDocumentation comment for this package)

```
