spiegel-keyman/developer/docs/api/etc/kmc-analyze.api.md
Marc Durdin 3b45c543bf docs(developer): kmc-ldml api documentation
Relates to #10207.

Note: reduces the API surface by removing members which should be
internal. Fixes a few minor typos in other API docs. Adds missing docs
for kmc-kmn also.
2024-03-01 15:53:01 +07:00

55 lines
1.6 KiB
Markdown

## API Report File for "@keymanapp/kmc-analyze"
> 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 { 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;
};
}
// 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;
}
```