## API Report File for "@keymanapp/kmc-package" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import { CompilerCallbacks } from '@keymanapp/common-types'; import { CompilerEvent } from '@keymanapp/common-types'; import { CompilerOptions } from '@keymanapp/common-types'; import { KeymanCompiler } from '@keymanapp/common-types'; import { KeymanCompilerArtifact } from '@keymanapp/common-types'; import { KeymanCompilerArtifacts } from '@keymanapp/common-types'; import { KeymanCompilerResult } from '@keymanapp/common-types'; import { KmpJsonFile } from '@keymanapp/common-types'; import { KpsFile } from '@keymanapp/common-types'; // @public (undocumented) export class KmpCompiler implements KeymanCompiler { buildKmpFile(kpsFilename: string, kmpJsonData: KmpJsonFile.KmpJsonFile): Promise; // Warning: (ae-forgotten-export) The symbol "KmpCompilerOptions" needs to be exported by the entry point main.d.ts // // (undocumented) init(callbacks: CompilerCallbacks, options: KmpCompilerOptions): Promise; // (undocumented) loadKpsFile(kpsFilename: string): KpsFile.KpsFile; // Warning: (ae-forgotten-export) The symbol "KmpCompilerResult" needs to be exported by the entry point main.d.ts // // (undocumented) run(inputFilename: string, outputFilename?: string): Promise; // (undocumented) transformKpsFileToKmpObject(kpsFilename: string, kps: KpsFile.KpsFile): KmpJsonFile.KmpJsonFile; // (undocumented) transformKpsToKmpObject(kpsFilename: string): KmpJsonFile.KmpJsonFile; // Warning: (ae-forgotten-export) The symbol "KmpCompilerArtifacts" needs to be exported by the entry point main.d.ts // // (undocumented) write(artifacts: KmpCompilerArtifacts): Promise; } // @public (undocumented) export class PackageCompilerMessages { // (undocumented) static ERROR_FileCouldNotBeRead: number; // (undocumented) static Error_FileCouldNotBeRead: (o: { filename: string; e: any; }) => CompilerEvent; // (undocumented) static ERROR_FileDoesNotExist: number; // (undocumented) static Error_FileDoesNotExist: (o: { filename: string; }) => CompilerEvent; // (undocumented) static ERROR_FollowKeyboardVersionButNoKeyboards: number; // (undocumented) static Error_FollowKeyboardVersionButNoKeyboards: () => CompilerEvent; // (undocumented) static ERROR_FollowKeyboardVersionNotAllowedForModelPackages: number; // (undocumented) static Error_FollowKeyboardVersionNotAllowedForModelPackages: () => CompilerEvent; // (undocumented) static ERROR_InvalidPackageFile: number; // (undocumented) static Error_InvalidPackageFile: (o: { e: any; }) => CompilerEvent; // (undocumented) static ERROR_KeyboardContentFileNotFound: number; // (undocumented) static Error_KeyboardContentFileNotFound: (o: { id: string; }) => CompilerEvent; // (undocumented) static ERROR_KeyboardFileNotFound: number; // (undocumented) static Error_KeyboardFileNotFound: (o: { filename: string; }) => CompilerEvent; // (undocumented) static ERROR_KeyboardFileNotValid: number; // (undocumented) static Error_KeyboardFileNotValid: (o: { filename: string; e: any; }) => CompilerEvent; // (undocumented) static ERROR_LanguageTagIsNotValid: number; // (undocumented) static Error_LanguageTagIsNotValid: (o: { resourceType: string; id: string; lang: string; e: any; }) => CompilerEvent; // (undocumented) static ERROR_ModelMustHaveAtLeastOneLanguage: number; // (undocumented) static Error_ModelMustHaveAtLeastOneLanguage: (o: { id: string; }) => CompilerEvent; // (undocumented) static ERROR_PackageCannotContainBothModelsAndKeyboards: number; // (undocumented) static Error_PackageCannotContainBothModelsAndKeyboards: () => CompilerEvent; // (undocumented) static ERROR_PackageMustContainAModelOrAKeyboard: number; // (undocumented) static Error_PackageMustContainAModelOrAKeyboard: () => CompilerEvent; // (undocumented) static ERROR_PackageNameCannotBeBlank: number; // (undocumented) static Error_PackageNameCannotBeBlank: () => CompilerEvent; // (undocumented) static FATAL_UnexpectedException: number; // (undocumented) static Fatal_UnexpectedException: (o: { e: any; }) => CompilerEvent; // (undocumented) static HINT_JsKeyboardFileHasNoTouchTargets: number; // (undocumented) static Hint_JsKeyboardFileHasNoTouchTargets: (o: { id: string; }) => CompilerEvent; // (undocumented) static HINT_LanguageTagIsNotMinimal: number; // (undocumented) static Hint_LanguageTagIsNotMinimal: (o: { resourceType: string; id: string; actual: string; expected: string; }) => CompilerEvent; // (undocumented) static HINT_PackageContainsSourceFile: number; // (undocumented) static Hint_PackageContainsSourceFile: (o: { filename: string; }) => CompilerEvent; // (undocumented) static HINT_PackageShouldNotRepeatLanguages: number; // (undocumented) static Hint_PackageShouldNotRepeatLanguages: (o: { resourceType: string; id: string; minimalTag: string; firstTag: string; secondTag: string; }) => CompilerEvent; // (undocumented) static INFO_KeyboardFileHasNoKeyboardVersion: number; // (undocumented) static Info_KeyboardFileHasNoKeyboardVersion: (o: { filename: string; }) => CompilerEvent; // (undocumented) static WARN_AbsolutePath: number; // (undocumented) static Warn_AbsolutePath: (o: { filename: string; }) => CompilerEvent; // (undocumented) static WARN_DocFileDangerous: number; // (undocumented) static Warn_DocFileDangerous: (o: { filename: string; }) => CompilerEvent; // (undocumented) static WARN_FileInPackageDoesNotFollowFilenameConventions: number; // (undocumented) static Warn_FileInPackageDoesNotFollowFilenameConventions: (o: { filename: string; }) => CompilerEvent; // (undocumented) static WARN_FileIsNotABinaryKvkFile: number; // (undocumented) static Warn_FileIsNotABinaryKvkFile: (o: { filename: string; }) => CompilerEvent; // (undocumented) static WARN_JsKeyboardFileIsMissing: number; // (undocumented) static Warn_JsKeyboardFileIsMissing: (o: { id: string; }) => CompilerEvent; // (undocumented) static WARN_KeyboardShouldHaveAtLeastOneLanguage: number; // (undocumented) static Warn_KeyboardShouldHaveAtLeastOneLanguage: (o: { id: string; }) => CompilerEvent; // (undocumented) static WARN_KeyboardVersionsDoNotMatch: number; // (undocumented) static Warn_KeyboardVersionsDoNotMatch: (o: { keyboard: string; version: string; firstKeyboard: string; firstVersion: string; }) => CompilerEvent; // (undocumented) static WARN_PackageNameDoesNotFollowKeyboardConventions: number; // (undocumented) static Warn_PackageNameDoesNotFollowKeyboardConventions: (o: { filename: string; }) => CompilerEvent; // (undocumented) static WARN_PackageNameDoesNotFollowLexicalModelConventions: number; // (undocumented) static Warn_PackageNameDoesNotFollowLexicalModelConventions: (o: { filename: string; }) => CompilerEvent; // (undocumented) static WARN_RedistFileShouldNotBeInPackage: number; // (undocumented) static Warn_RedistFileShouldNotBeInPackage: (o: { filename: string; }) => CompilerEvent; } // @public (undocumented) export class PackageValidation { constructor(callbacks: CompilerCallbacks, options: CompilerOptions); // (undocumented) validate(filename: string, kmpJson: KmpJsonFile.KmpJsonFile): boolean; } // @public (undocumented) export class WindowsPackageInstallerCompiler implements KeymanCompiler { // Warning: (ae-forgotten-export) The symbol "WindowsPackageInstallerCompilerOptions" needs to be exported by the entry point main.d.ts // // (undocumented) init(callbacks: CompilerCallbacks, options: WindowsPackageInstallerCompilerOptions): Promise; // Warning: (ae-forgotten-export) The symbol "WindowsPackageInstallerCompilerResult" needs to be exported by the entry point main.d.ts // // (undocumented) run(inputFilename: string, outputFilename?: string): Promise; // Warning: (ae-forgotten-export) The symbol "WindowsPackageInstallerCompilerArtifacts" needs to be exported by the entry point main.d.ts // // (undocumented) write(artifacts: WindowsPackageInstallerCompilerArtifacts): Promise; } // @public (undocumented) export interface WindowsPackageInstallerSources { // (undocumented) appName?: string; // (undocumented) licenseFilename: string; // (undocumented) msiFilename: string; // (undocumented) setupExeFilename: string; // (undocumented) startDisabled: boolean; // (undocumented) startWithConfiguration: boolean; // (undocumented) titleImageFilename?: string; } // (No @packageDocumentation comment for this package) ```