import * as ventojs$1 from "ventojs"; import _UserConfig from "@11ty/eleventy/UserConfig"; import { Plugin } from "ventojs/core/environment.js"; //#region src/types/utilities.d.ts /** * Matches any given string so autocomplete in literal unions works as expected */ type AnyString = string & Record; //#endregion //#region src/types/eleventy.d.ts interface UserConfig extends _UserConfig { directories: { input: string; output: string; includes: string; layouts: string; }; } //#endregion //#region src/types/options.d.ts interface PluginOptions { /** * An array of Vento plugins */ plugins: Plugin[]; /** * Enables Vento's autotrim plugin. * @example * // Set to an array of tags * autotrim: ['tag1', 'tag2'] * @example * // Use Vento's defaults and Eleventy paired shortcodes * // Setting `true` is functionally equivalent to both * // `@vento` and `@11ty` being present * autotrim: ['@vento', '@11ty'] * autotrim: true */ autotrim: ('@11ty' | '@vento' | AnyString)[] | boolean; /** * Enable use of Eleventy filters */ filters: boolean; /** * Enable use of Eleventy shortcodes */ shortcodes: boolean; /** * Enable use of Eleventy paired shortcodes */ pairedShortcodes: boolean; /** * A Vento configuration object. * @see {@link https://vento.js.org/configuration/} * @default * { * // Defaults to Eleventy's own `includes` directory * includes: eleventyConfig.directories.includes * } */ ventoOptions: ventojs$1.Options; } //#endregion //#region src/plugin.d.ts export declare function VentoPlugin(eleventyConfig: UserConfig, userOptions?: Partial): void; //#endregion