mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 17:05:34 +00:00
1.4 KiB
1.4 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/developer-utils';
// @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;
};
}
// @public
export class AnalyzerMessages {
static readonly FATAL_UnexpectedException: number;
// @internal (undocumented)
static Fatal_UnexpectedException: (o: {
e: any;
}) => CompilerEvent;
static readonly INFO_ScanningFile: number;
// @internal (undocumented)
static Info_ScanningFile: (o: {
type: string;
name: string;
}) => CompilerEvent;
}