export declare const updateProbeDeviceId = "00000000-0000-0000-0000-000000000000";
interface UpdateProbePayload {
    app_id: string;
    device_id: string;
    version_name: string;
    version_build: string;
    is_emulator: boolean;
    is_prod: boolean;
    platform: 'ios' | 'android';
    plugin_version: string;
    defaultChannel: string;
}
export interface PreparedUpdateProbe {
    endpoint: string;
    payload: UpdateProbePayload;
    nativeSource: string;
    versionBuildSource: string;
    appIdSource: string;
}
export type PrepareUpdateProbeResult = {
    ok: true;
    context: PreparedUpdateProbe;
} | {
    ok: false;
    error: string;
};
export type UpdateProbeResult = {
    success: true;
    availableVersion: string;
} | {
    success: false;
    reason: string;
    backendRefusal: boolean;
    errorCode?: string;
    backendMessage?: string;
    extra?: Record<string, unknown>;
};
export declare function prepareUpdateProbe(platform: 'ios' | 'android', capConfig: any): Promise<PrepareUpdateProbeResult>;
export declare function singleProbeRequest(endpoint: string, payload: UpdateProbePayload): Promise<UpdateProbeResult>;
export declare function explainCommonUpdateError(result: Extract<UpdateProbeResult, {
    success: false;
}>): string[];
export {};
