UNPKG

799 BTypeScriptView Raw
1export declare type Document = {
2 [key: string]: any;
3};
4export declare type InputOptions = {
5 manifestPath?: string | null;
6 projectRoot?: string | null;
7 manifest?: Document | null;
8};
9export declare function logManifest(doc: Document): void;
10export declare function format(manifest: any, { indentLevel, newline }?: {
11 indentLevel?: number | undefined;
12 newline?: string | undefined;
13}): string;
14export declare function writeAndroidManifestAsync(manifestPath: string, manifest: any): Promise<void>;
15export declare function getProjectAndroidManifestPathAsync(projectDir: string): Promise<string | null>;
16export declare function readAndroidManifestAsync(manifestPath: string): Promise<Document>;
17export declare function getPackageAsync(manifest: Document): Promise<string | null>;