import { z } from 'zod';
export interface SDKResult<T = void> {
    success: boolean;
    data?: T;
    error?: string;
    securityPolicyMessage?: string;
    isSecurityPolicyError?: boolean;
    warnings?: string[];
}
export declare const addAppOptionsSchema: z.ZodObject<{
    appId: z.ZodString;
    name: z.ZodOptional<z.ZodString>;
    icon: z.ZodOptional<z.ZodString>;
    apikey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type AddAppOptions = z.infer<typeof addAppOptionsSchema>;
export declare const updateAppOptionsSchema: z.ZodObject<{
    appId: z.ZodString;
    name: z.ZodOptional<z.ZodString>;
    icon: z.ZodOptional<z.ZodString>;
    retention: z.ZodOptional<z.ZodNumber>;
    apikey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type UpdateAppOptions = z.infer<typeof updateAppOptionsSchema>;
export declare const appInfoSchema: z.ZodObject<{
    appId: z.ZodString;
    name: z.ZodString;
    iconUrl: z.ZodOptional<z.ZodString>;
    createdAt: z.ZodDate;
}, z.core.$strip>;
export type AppInfo = z.infer<typeof appInfoSchema>;
export declare const starRepoOptionsSchema: z.ZodObject<{
    repository: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type StarRepoOptions = z.infer<typeof starRepoOptionsSchema>;
export declare const starAllRepositoriesOptionsSchema: z.ZodObject<{
    repositories: z.ZodOptional<z.ZodArray<z.ZodString>>;
    minDelayMs: z.ZodOptional<z.ZodNumber>;
    maxDelayMs: z.ZodOptional<z.ZodNumber>;
    maxConcurrency: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>;
export type StarAllRepositoriesOptions = z.infer<typeof starAllRepositoriesOptionsSchema>;
export declare const uploadOptionsSchema: z.ZodObject<{
    appId: z.ZodString;
    path: z.ZodString;
    bundle: z.ZodOptional<z.ZodString>;
    channel: z.ZodOptional<z.ZodString>;
    apikey: z.ZodOptional<z.ZodString>;
    external: z.ZodOptional<z.ZodString>;
    encrypt: z.ZodOptional<z.ZodBoolean>;
    encryptionKey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
    timeout: z.ZodOptional<z.ZodNumber>;
    useTus: z.ZodOptional<z.ZodBoolean>;
    comment: z.ZodOptional<z.ZodString>;
    minUpdateVersion: z.ZodOptional<z.ZodString>;
    autoMinUpdateVersion: z.ZodOptional<z.ZodBoolean>;
    selfAssign: z.ZodOptional<z.ZodBoolean>;
    packageJsonPaths: z.ZodOptional<z.ZodString>;
    ignoreCompatibilityCheck: z.ZodOptional<z.ZodBoolean>;
    disableCodeCheck: z.ZodOptional<z.ZodBoolean>;
    useZip: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>;
export type UploadOptions = z.infer<typeof uploadOptionsSchema>;
export declare const uploadResultSchema: z.ZodObject<{
    success: z.ZodBoolean;
    bundleId: z.ZodOptional<z.ZodString>;
    bundleUrl: z.ZodOptional<z.ZodString>;
    checksum: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    encryptionMethod: z.ZodOptional<z.ZodEnum<{
        none: "none";
        v1: "v1";
        v2: "v2";
    }>>;
    sessionKey: z.ZodOptional<z.ZodString>;
    ivSessionKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    storageProvider: z.ZodOptional<z.ZodString>;
    skipped: z.ZodOptional<z.ZodBoolean>;
    reason: z.ZodOptional<z.ZodString>;
    error: z.ZodOptional<z.ZodString>;
    warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>;
export type UploadResult = z.infer<typeof uploadResultSchema>;
export declare const bundleInfoSchema: z.ZodObject<{
    id: z.ZodString;
    version: z.ZodString;
    channel: z.ZodOptional<z.ZodString>;
    uploadedAt: z.ZodDate;
    size: z.ZodNumber;
    encrypted: z.ZodBoolean;
}, z.core.$strip>;
export type BundleInfo = z.infer<typeof bundleInfoSchema>;
export declare const cleanupOptionsSchema: z.ZodObject<{
    appId: z.ZodString;
    keep: z.ZodOptional<z.ZodNumber>;
    bundle: z.ZodOptional<z.ZodString>;
    force: z.ZodOptional<z.ZodBoolean>;
    ignoreChannel: z.ZodOptional<z.ZodBoolean>;
    apikey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type CleanupOptions = z.infer<typeof cleanupOptionsSchema>;
export declare const generateKeyOptionsSchema: z.ZodObject<{
    force: z.ZodOptional<z.ZodBoolean>;
    setupChannel: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>;
export type GenerateKeyOptions = z.infer<typeof generateKeyOptionsSchema>;
export declare const saveKeyOptionsSchema: z.ZodObject<{
    keyPath: z.ZodOptional<z.ZodString>;
    keyData: z.ZodOptional<z.ZodString>;
    setupChannel: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>;
export type SaveKeyOptions = z.infer<typeof saveKeyOptionsSchema>;
export declare const deleteOldKeyOptionsSchema: z.ZodObject<{
    force: z.ZodOptional<z.ZodBoolean>;
    setupChannel: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>;
export type DeleteOldKeyOptions = z.infer<typeof deleteOldKeyOptionsSchema>;
export declare const addChannelOptionsSchema: z.ZodObject<{
    channelId: z.ZodString;
    appId: z.ZodString;
    default: z.ZodOptional<z.ZodBoolean>;
    selfAssign: z.ZodOptional<z.ZodBoolean>;
    apikey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type AddChannelOptions = z.infer<typeof addChannelOptionsSchema>;
export declare const updateChannelOptionsSchema: z.ZodObject<{
    channelId: z.ZodString;
    appId: z.ZodString;
    bundle: z.ZodOptional<z.ZodString>;
    state: z.ZodOptional<z.ZodString>;
    downgrade: z.ZodOptional<z.ZodBoolean>;
    ios: z.ZodOptional<z.ZodBoolean>;
    android: z.ZodOptional<z.ZodBoolean>;
    selfAssign: z.ZodOptional<z.ZodBoolean>;
    disableAutoUpdate: z.ZodOptional<z.ZodString>;
    dev: z.ZodOptional<z.ZodBoolean>;
    emulator: z.ZodOptional<z.ZodBoolean>;
    device: z.ZodOptional<z.ZodBoolean>;
    prod: z.ZodOptional<z.ZodBoolean>;
    apikey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type UpdateChannelOptions = z.infer<typeof updateChannelOptionsSchema>;
export declare const accountIdOptionsSchema: z.ZodObject<{
    apikey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type AccountIdOptions = z.infer<typeof accountIdOptionsSchema>;
export declare const listOrganizationsOptionsSchema: z.ZodObject<{
    apikey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type ListOrganizationsOptions = z.infer<typeof listOrganizationsOptionsSchema>;
export declare const addOrganizationOptionsSchema: z.ZodObject<{
    apikey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
    name: z.ZodString;
    email: z.ZodString;
}, z.core.$strip>;
export type AddOrganizationOptions = z.infer<typeof addOrganizationOptionsSchema>;
export declare const updateOrganizationOptionsSchema: z.ZodObject<{
    apikey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
    orgId: z.ZodString;
    name: z.ZodOptional<z.ZodString>;
    email: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type UpdateOrganizationOptions = z.infer<typeof updateOrganizationOptionsSchema>;
export declare const organizationInfoSchema: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    role: z.ZodOptional<z.ZodString>;
    appCount: z.ZodOptional<z.ZodNumber>;
    email: z.ZodOptional<z.ZodString>;
    createdAt: z.ZodOptional<z.ZodDate>;
}, z.core.$strip>;
export type OrganizationInfo = z.infer<typeof organizationInfoSchema>;
export declare const deleteOrganizationOptionsSchema: z.ZodObject<{
    apikey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
    autoConfirm: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>;
export type DeleteOrganizationOptions = z.infer<typeof deleteOrganizationOptionsSchema>;
export declare const loginOptionsSchema: z.ZodObject<{
    apikey: z.ZodString;
    local: z.ZodOptional<z.ZodBoolean>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type LoginOptions = z.infer<typeof loginOptionsSchema>;
export declare const doctorOptionsSchema: z.ZodObject<{
    packageJson: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type DoctorOptions = z.infer<typeof doctorOptionsSchema>;
export declare const bundleCompatibilityOptionsSchema: z.ZodObject<{
    appId: z.ZodString;
    channel: z.ZodString;
    packageJson: z.ZodOptional<z.ZodString>;
    nodeModules: z.ZodOptional<z.ZodString>;
    textOutput: z.ZodOptional<z.ZodBoolean>;
    apikey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type BundleCompatibilityOptions = z.infer<typeof bundleCompatibilityOptionsSchema>;
export declare const encryptBundleOptionsSchema: z.ZodObject<{
    zipPath: z.ZodString;
    checksum: z.ZodString;
    keyPath: z.ZodOptional<z.ZodString>;
    keyData: z.ZodOptional<z.ZodString>;
    json: z.ZodOptional<z.ZodBoolean>;
    packageJson: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type EncryptBundleOptions = z.infer<typeof encryptBundleOptionsSchema>;
export declare const decryptBundleOptionsSchema: z.ZodObject<{
    zipPath: z.ZodString;
    ivSessionKey: z.ZodString;
    keyPath: z.ZodOptional<z.ZodString>;
    keyData: z.ZodOptional<z.ZodString>;
    checksum: z.ZodOptional<z.ZodString>;
    packageJson: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type DecryptBundleOptions = z.infer<typeof decryptBundleOptionsSchema>;
export declare const zipBundleOptionsSchema: z.ZodObject<{
    appId: z.ZodString;
    path: z.ZodString;
    bundle: z.ZodOptional<z.ZodString>;
    name: z.ZodOptional<z.ZodString>;
    codeCheck: z.ZodOptional<z.ZodBoolean>;
    json: z.ZodOptional<z.ZodBoolean>;
    keyV2: z.ZodOptional<z.ZodBoolean>;
    packageJson: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type ZipBundleOptions = z.infer<typeof zipBundleOptionsSchema>;
export declare const requestBuildOptionsSchema: z.ZodObject<{
    appId: z.ZodString;
    path: z.ZodOptional<z.ZodString>;
    nodeModules: z.ZodOptional<z.ZodString>;
    platform: z.ZodEnum<{
        android: "android";
        ios: "ios";
    }>;
    credentials: z.ZodOptional<z.ZodObject<{
        BUILD_CERTIFICATE_BASE64: z.ZodOptional<z.ZodString>;
        BUILD_PROVISION_PROFILE_BASE64: z.ZodOptional<z.ZodString>;
        P12_PASSWORD: z.ZodOptional<z.ZodString>;
        APPLE_KEY_ID: z.ZodOptional<z.ZodString>;
        APPLE_ISSUER_ID: z.ZodOptional<z.ZodString>;
        APPLE_KEY_CONTENT: z.ZodOptional<z.ZodString>;
        APP_STORE_CONNECT_TEAM_ID: z.ZodOptional<z.ZodString>;
        CAPGO_IOS_PROVISIONING_MAP: z.ZodOptional<z.ZodString>;
        ANDROID_KEYSTORE_FILE: z.ZodOptional<z.ZodString>;
        KEYSTORE_KEY_ALIAS: z.ZodOptional<z.ZodString>;
        KEYSTORE_KEY_PASSWORD: z.ZodOptional<z.ZodString>;
        KEYSTORE_STORE_PASSWORD: z.ZodOptional<z.ZodString>;
        PLAY_CONFIG_JSON: z.ZodOptional<z.ZodString>;
        PLAY_STORE_IN_APP_UPDATE_PRIORITY: z.ZodOptional<z.ZodString>;
    }, z.core.$catchall<z.ZodOptional<z.ZodString>>>>;
    userId: z.ZodOptional<z.ZodString>;
    apikey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type RequestBuildOptions = z.infer<typeof requestBuildOptionsSchema>;
export declare const currentBundleOptionsSchema: z.ZodObject<{
    apikey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type CurrentBundleOptions = z.infer<typeof currentBundleOptionsSchema>;
export declare const setSettingOptionsSchema: z.ZodObject<{
    apikey: z.ZodOptional<z.ZodString>;
    bool: z.ZodOptional<z.ZodString>;
    string: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type SetSettingOptions = z.infer<typeof setSettingOptionsSchema>;
export declare const statsOrderSchema: z.ZodObject<{
    key: z.ZodString;
    sortable: z.ZodOptional<z.ZodEnum<{
        asc: "asc";
        desc: "desc";
    }>>;
}, z.core.$strip>;
export type StatsOrder = z.infer<typeof statsOrderSchema>;
export declare const getStatsOptionsSchema: z.ZodObject<{
    appId: z.ZodString;
    deviceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
    search: z.ZodOptional<z.ZodString>;
    order: z.ZodOptional<z.ZodArray<z.ZodObject<{
        key: z.ZodString;
        sortable: z.ZodOptional<z.ZodEnum<{
            asc: "asc";
            desc: "desc";
        }>>;
    }, z.core.$strip>>>;
    rangeStart: z.ZodOptional<z.ZodString>;
    rangeEnd: z.ZodOptional<z.ZodString>;
    limit: z.ZodOptional<z.ZodNumber>;
    after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    apikey: z.ZodOptional<z.ZodString>;
    supaHost: z.ZodOptional<z.ZodString>;
    supaAnon: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type GetStatsOptions = z.infer<typeof getStatsOptionsSchema>;
export declare const deviceStatsSchema: z.ZodObject<{
    appId: z.ZodString;
    deviceId: z.ZodString;
    action: z.ZodString;
    versionId: z.ZodNumber;
    version: z.ZodOptional<z.ZodNumber>;
    createdAt: z.ZodString;
}, z.core.$strip>;
export type DeviceStats = z.infer<typeof deviceStatsSchema>;
export declare const probeOptionsSchema: z.ZodObject<{
    platform: z.ZodEnum<{
        android: "android";
        ios: "ios";
    }>;
}, z.core.$strip>;
export type ProbeOptions = z.infer<typeof probeOptionsSchema>;
