import type { OptionsBase } from '../utils';
export interface BuildCredentials {
    BUILD_CERTIFICATE_BASE64?: string;
    BUILD_PROVISION_PROFILE_BASE64?: string;
    BUILD_PROVISION_PROFILE_BASE64_PROD?: string;
    P12_PASSWORD?: string;
    APPLE_ID?: string;
    APPLE_APP_SPECIFIC_PASSWORD?: string;
    APPLE_KEY_ID?: string;
    APPLE_ISSUER_ID?: string;
    APPLE_KEY_CONTENT?: string;
    APP_STORE_CONNECT_TEAM_ID?: string;
    ANDROID_KEYSTORE_FILE?: string;
    KEYSTORE_KEY_ALIAS?: string;
    KEYSTORE_KEY_PASSWORD?: string;
    KEYSTORE_STORE_PASSWORD?: string;
    PLAY_CONFIG_JSON?: string;
    [key: string]: string | undefined;
}
export interface BuildRequestOptions extends OptionsBase {
    path?: string;
    lane: 'ios' | 'android';
    buildMode?: 'debug' | 'release';
    credentials?: BuildCredentials;
    userId?: string;
}
export interface BuildRequestResponse {
    jobId: string;
    folder: string;
    status: 'queued' | 'reserved';
    artifactKey: string;
    uploadUrl: string;
    machine?: {
        id: string;
        ip: string;
        [key: string]: unknown;
    } | null;
}
export interface BuildRequestResult {
    success: boolean;
    jobId?: string;
    uploadUrl?: string;
    status?: string;
    error?: string;
}
export declare function requestBuildInternal(appId: string, options: BuildRequestOptions, silent?: boolean): Promise<BuildRequestResult>;
export declare function requestBuildCommand(appId: string, options: BuildRequestOptions): Promise<void>;
//# sourceMappingURL=request.d.ts.map