@manuth/woltlab-compiler
Version:
A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components
31 lines (30 loc) • 996 B
TypeScript
import { ACPCategory } from "../../Options/ControlPanel/ACPCategory.js";
import { ACPOption } from "../../Options/ControlPanel/ACPOption.js";
import { ACPOptionInstruction } from "../../PackageSystem/Instructions/Options/ACPOptionInstruction.js";
import { OptionFileCompiler } from "./OptionFileCompiler.js";
/**
* Provides the functionality to compile acp-option files.
*/
export declare class ACPOptionFileCompiler extends OptionFileCompiler<ACPOptionInstruction, ACPCategory, ACPOption> {
/**
* Initializes a new instance of the {@link ACPOptionFileCompiler `ACPOptionFileCompiler`} class.
*
* @param item
* The item to compile.
*/
constructor(item: ACPOptionInstruction);
/**
* @inheritdoc
*/
protected get SchemaLocation(): string;
/**
* @inheritdoc
*
* @param option
* The option to serialize.
*
* @returns
* The serialized option.
*/
protected CreateOption(option: ACPOption): Element;
}