import type { OptionsUpload } from './upload_interface';
import { createSupabaseClient } from '../utils';
type SupabaseType = Awaited<ReturnType<typeof createSupabaseClient>>;
export interface UploadBundleResult {
    success: boolean;
    bundle: string;
    checksum?: string | null;
    encryptionMethod: 'none' | 'v1' | 'v2';
    sessionKey?: string;
    ivSessionKey?: string | null;
    storageProvider?: string;
    skipped?: boolean;
    reason?: string;
}
export declare function getDefaulUploadChannel(appId: string, supabase: SupabaseType, hostWeb: string): Promise<string | null>;
export declare function uploadBundle(preAppid: string, options: OptionsUpload, shouldExit?: boolean): Promise<UploadBundleResult>;
export declare function uploadCommand(appid: string, options: OptionsUpload): Promise<void>;
export {};
//# sourceMappingURL=upload.d.ts.map