1import { ResourceKind } from './Resources'; 2export interface ProjectFile<L extends string = string> { 3 path: string; 4 language: L; 5 contents: string; 6} 7export declare type ApplicationProjectFile = ProjectFile<'java' | 'kt'>; 8export declare type GradleProjectFile = ProjectFile<'groovy' | 'kt'>; 9export declare function getProjectFilePath(projectRoot: string, name: string): string; 10export declare function getFileInfo(filePath: string): { 11 path: string; 12 contents: string; 13 language: any; 14}; 15export declare function getMainApplicationAsync(projectRoot: string): Promise<ApplicationProjectFile>; 16export declare function getMainActivityAsync(projectRoot: string): Promise<ApplicationProjectFile>; 17export declare function getGradleFilePath(projectRoot: string, gradleName: string): string; 18export declare function getProjectBuildGradleFilePath(projectRoot: string): string; 19export declare function getProjectBuildGradleAsync(projectRoot: string): Promise<GradleProjectFile>; 20export declare function getSettingsGradleFilePath(projectRoot: string): string; 21export declare function getSettingsGradleAsync(projectRoot: string): Promise<GradleProjectFile>; 22export declare function getAppBuildGradleFilePath(projectRoot: string): string; 23export declare function getAppBuildGradleAsync(projectRoot: string): Promise<GradleProjectFile>; 24export declare function getProjectPathOrThrowAsync(projectRoot: string): Promise<string>; 25export declare function getAndroidManifestAsync(projectRoot: string): Promise<string>; 26export declare function getResourceFolderAsync(projectRoot: string): Promise<string>; 27export declare function getResourceXMLPathAsync(projectRoot: string, { kind, name }: { 28 kind?: ResourceKind; 29 name: 'colors' | 'strings' | 'styles' | string; 30}): Promise<string>; 31