import type { PluginFn } from 'edge.js/types'; /** * Edge.js plugin that registers Inertia.js tags and global functions * * This plugin adds the @inertia and @inertiaHead tags to Edge templates, * along with global helper functions for rendering Inertia pages. * * @returns Edge plugin function that registers Inertia functionality * * @example * ```js * // Configure in config/edge.ts * import { edgePluginInertia } from '@adonisjs/inertia/plugins/edge' * * edge.use(edgePluginInertia()) * ``` * * @example * ```edge * {{-- Use in Edge templates --}} * * *
* @inertiaHead() * * * @inertia({ id: 'app', class: 'min-h-screen' }) * * * ``` */ export declare const edgePluginInertia: () => PluginFn