## 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 type { QwikManifest } from '@qwik.dev/core/optimizer';
import { ResolvedManifest } from '@qwik.dev/core/optimizer';
import type { ServerQwikManifest } from '@qwik.dev/core/optimizer';
import type { SnapshotResult } from '@qwik.dev/core';
import type { StreamWriter } from '@qwik.dev/core/internal';
import type { SymbolMapperFn } from '@qwik.dev/core/optimizer';

// @public
export function getQwikBackpatchExecutorScript(opts?: {
    debug?: boolean;
}): string;

// @public
export function getQwikLoaderScript(opts?: {
    debug?: boolean;
}): string;

// @public
export function getQwikPrefetchWorkerScript(opts?: {
    debug?: boolean;
}): string;

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

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

// Warning: (ae-forgotten-export) The symbol "InOrderDirect" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export type InOrderStreaming = InOrderAuto | InOrderDisabled | InOrderDirect;

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

// @public (undocumented)
export interface PrefetchResource {
    // (undocumented)
    imports: PrefetchResource[];
    // (undocumented)
    url: string;
}

// @public (undocumented)
export interface PreloaderOptions {
    maxIdlePreloads?: number;
    ssrPreloads?: number;
}

// @public (undocumented)
export type QwikLoaderOptions = 'module' | 'inline' | 'never' | {
    include?: 'always' | 'never' | 'auto';
    position?: 'top' | 'bottom';
};

// @public (undocumented)
export type Render = RenderToString | RenderToStream;

// @public (undocumented)
export interface RenderOptions extends SerializeDocumentOptions {
    base?: string | ((options: RenderOptions) => string);
    // (undocumented)
    containerAttributes?: Record<string, string>;
    containerTagName?: string;
    locale?: string | ((options: RenderOptions) => string);
    preloader?: PreloaderOptions | false;
    qwikLoader?: QwikLoaderOptions;
    serverData?: Record<string, any>;
    snapshot?: boolean;
    statePrewarm?: number | false;
}

// @public (undocumented)
export interface RenderResult {
    // (undocumented)
    isStatic: boolean;
    // (undocumented)
    manifest?: ServerQwikManifest;
    // @deprecated (undocumented)
    snapshotResult?: SnapshotResult | undefined;
}

// @public (undocumented)
export type RenderToStream = (opts: RenderToStreamOptions) => Promise<RenderToStreamResult>;

// Warning: (ae-forgotten-export) The symbol "JSXOutput" needs to be exported by the entry point index.d.ts
//
// @public
export const renderToStream: (jsx: JSXOutput, opts: RenderToStreamOptions) => Promise<RenderToStreamResult>;

// @public (undocumented)
export interface RenderToStreamOptions extends RenderOptions {
    // (undocumented)
    stream: StreamWriter;
    // (undocumented)
    streaming?: StreamingOptions;
}

// @public (undocumented)
export interface RenderToStreamResult extends RenderResult {
    // (undocumented)
    flushes: number;
    // (undocumented)
    size: number;
    // (undocumented)
    timing: {
        firstFlush: number;
        render: number;
        snapshot: number;
    };
}

// @public (undocumented)
export type RenderToString = (opts: RenderToStringOptions) => Promise<RenderToStringResult>;

// @public
export const renderToString: (jsx: JSXOutput, opts?: RenderToStringOptions) => Promise<RenderToStringResult>;

// @public (undocumented)
export interface RenderToStringOptions extends RenderOptions {
}

// @public (undocumented)
export interface RenderToStringResult extends RenderResult {
    // (undocumented)
    html: string;
    // (undocumented)
    timing: {
        firstFlush: number;
        render: number;
        snapshot: number;
    };
}

// @public
export function resolveManifest(manifest?: Partial<QwikManifest | ResolvedManifest> | undefined): ResolvedManifest | undefined;

// @public (undocumented)
export interface SerializeDocumentOptions {
    // (undocumented)
    debug?: boolean;
    // (undocumented)
    manifest?: Partial<QwikManifest | ResolvedManifest>;
    // (undocumented)
    symbolMapper?: SymbolMapperFn;
}

// @public (undocumented)
export function setServerPlatform(manifest?: Partial<QwikManifest | ResolvedManifest>): Promise<void>;

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

// @public (undocumented)
export const versions: {
    readonly qwik: string;
    readonly qwikDom: string;
};

// (No @packageDocumentation comment for this package)

```
