@manuth/woltlab-compiler
Version:
A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components
29 lines (28 loc) • 880 B
TypeScript
import { ILocalizationInstruction } from "../../../PackageSystem/Instructions/Globalization/ILocalizationInstruction.js";
import { InstructionCompiler } from "./InstructionCompiler.js";
/**
* Provides the functionality to compile files which provide localizations.
*
* @template T
* The type of the item which can be compiled by this compiler.
*/
export declare class LocalizationProviderCompiler<T extends ILocalizationInstruction> extends InstructionCompiler<T> {
/**
* Initializes a new instance of the {@link LocalizationProviderCompiler `LocalizationProviderCompiler<T>`} class.
*
* @param item
* The item to compile.
*/
constructor(item: T);
/**
* @inheritdoc
*
* @returns
* The serialized document.
*/
Serialize(): Document;
/**
* @inheritdoc
*/
protected Compile(): Promise<void>;
}