import type { SupabaseClient } from '@supabase/supabase-js';
import type { Database } from '../types/supabase.types';
interface VersionOptions {
    silent?: boolean;
}
interface DeleteSpecificVersionOptions extends VersionOptions {
    autoUnlink?: boolean;
}
export declare function deleteAppVersion(supabase: SupabaseClient<Database>, appid: string, bundle: string, options?: VersionOptions): Promise<void>;
export declare function deleteSpecificVersion(supabase: SupabaseClient<Database>, appid: string, bundle: string, options?: DeleteSpecificVersionOptions): Promise<void>;
export declare function displayBundles(data: (Database['public']['Tables']['app_versions']['Row'] & {
    keep?: string;
})[], silent?: boolean): void;
export declare function getActiveAppVersions(supabase: SupabaseClient<Database>, appid: string, options?: VersionOptions): Promise<{
    app_id: string;
    checksum: string | null;
    cli_version: string | null;
    comment: string | null;
    created_at: string | null;
    deleted: boolean;
    deleted_at: string | null;
    external_url: string | null;
    id: number;
    key_id: string | null;
    link: string | null;
    manifest: Database["public"]["CompositeTypes"]["manifest_entry"][] | null;
    manifest_count: number;
    min_update_version: string | null;
    name: string;
    native_packages: import("../types/supabase.types").Json[] | null;
    owner_org: string;
    r2_path: string | null;
    session_key: string | null;
    storage_provider: string;
    updated_at: string | null;
    user_id: string | null;
}[]>;
export declare function getChannelsVersion(supabase: SupabaseClient<Database>, appid: string, options?: VersionOptions): Promise<(number | null)[]>;
export declare function getVersionData(supabase: SupabaseClient<Database>, appid: string, bundle: string, options?: VersionOptions): Promise<{
    app_id: string;
    checksum: string | null;
    cli_version: string | null;
    comment: string | null;
    created_at: string | null;
    deleted: boolean;
    deleted_at: string | null;
    external_url: string | null;
    id: number;
    key_id: string | null;
    link: string | null;
    manifest: Database["public"]["CompositeTypes"]["manifest_entry"][] | null;
    manifest_count: number;
    min_update_version: string | null;
    name: string;
    native_packages: import("../types/supabase.types").Json[] | null;
    owner_org: string;
    r2_path: string | null;
    session_key: string | null;
    storage_provider: string;
    updated_at: string | null;
    user_id: string | null;
}>;
export {};
