mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
1.6 KiB
1.6 KiB
API Report File for "@keymanapp/kmc-analyze"
Do not edit this file. It is a report generated by API Extractor.
import { CompilerCallbacks } from '@keymanapp/common-types';
import { CompilerEvent } from '@keymanapp/common-types';
import { Osk } from '@keymanapp/kmc-kmn';
// @public
export class AnalyzeOskCharacterUse {
constructor(callbacks: CompilerCallbacks, options?: AnalyzeOskCharacterUseOptions);
analyze(file: string): Promise<boolean>;
clear(): void;
getStrings(format?: '.txt' | '.md' | '.json'): string[];
}
// @public
export interface AnalyzeOskCharacterUseOptions {
includeCounts?: boolean;
puaBase?: number;
stripDottedCircle?: boolean;
}
// @public
export class AnalyzeOskRewritePua {
constructor(callbacks: CompilerCallbacks);
analyze(file: string, mapping: Osk.StringResult[]): Promise<boolean>;
clear(): void;
get data(): {
[index: string]: Uint8Array;
};
}
// Warning: (ae-internal-missing-underscore) The name "AnalyzerMessages" should be prefixed with an underscore because the declaration is marked as @internal
//
// @internal
export class AnalyzerMessages {
// (undocumented)
static readonly FATAL_UnexpectedException: number;
// (undocumented)
static readonly Fatal_UnexpectedException: (o: {
e: any;
}) => CompilerEvent;
// (undocumented)
static readonly INFO_ScanningFile: number;
// (undocumented)
static readonly Info_ScanningFile: (o: {
type: string;
name: string;
}) => CompilerEvent;
}