/**
 * @param {AnyFormRequest | null} request
 */
export function context(request: AnyFormRequest | null): Promise<ViewContext>;
/**
 * Returns the context for the devtool. Consumers won't have access to this.
 * @param {AnyFormRequest | null} _request
 * @returns {Record<string, unknown> & { assetPath: string, getDxtAssetPath: (asset: string) => string }}
 */
export function devtoolContext(_request: AnyFormRequest | null): Record<string, unknown> & {
    assetPath: string;
    getDxtAssetPath: (asset: string) => string;
};
import type { AnyFormRequest } from '~/src/server/plugins/engine/types.js';
import type { ViewContext } from '~/src/server/plugins/nunjucks/types.js';
