export type MacroOptions = {
    /**
     * - Nunjucks call block content
     */
    callBlock?: string | undefined;
    /**
     * - Nunjucks macro params
     */
    params?: object | undefined;
};
export type RenderOptions = {
    /**
     * - Nunjucks render context
     */
    context?: object | undefined;
};
/**
 * - Nunjucks view context
 */
export type ViewContext = {
    /**
     * - Base layout path
     */
    baseLayoutPath?: string | undefined;
    /**
     * - Cross-Site Request Forgery (CSRF) token
     */
    crumb?: string | undefined;
    /**
     * - Content Security Policy (CSP) nonce
     */
    cspNonce?: string | undefined;
    /**
     * - Current path
     */
    currentPath?: string | undefined;
    /**
     * - Preview mode
     */
    previewMode?: string | undefined;
    /**
     * - Form slug
     */
    slug?: string | undefined;
    /**
     * - Error message for temporary error messages (not related to form state)
     */
    error?: string | undefined;
    /**
     * - the current form context
     */
    context?: FormContext | undefined;
};
export type NunjucksContext = {
    /**
     * - the current nunjucks view context
     */
    ctx: ViewContext;
};
import type { FormContext } from '../../../server/plugins/engine/types.js';
