import { AIConfig, Config, GlobalSetting } from "../../gen/types.gen.js";
import { InstanceSyncOptions } from "../commands/instance/instance.js";
export interface SimplifiedSettings {
    auto_invite_enabled: boolean;
    auto_invite_as: string;
    auto_invite_mode: string;
    webhook?: string;
    deploy_to?: string;
    error_handler?: string;
    error_handler_extra_args?: any;
    error_handler_muted_on_cancel?: boolean;
    ai_config?: AIConfig;
    large_file_storage?: any;
    git_sync?: any;
    default_app?: string;
    default_scripts?: any;
    name: string;
    mute_critical_alerts?: boolean;
    color?: string;
    operator_settings?: any;
}
export declare function pushWorkspaceSettings(workspace: string, _path: string, settings: SimplifiedSettings | undefined, localSettings: SimplifiedSettings): Promise<void>;
export declare function pushWorkspaceKey(workspace: string, _path: string, key: string | undefined, localKey: string): Promise<void>;
export declare function readInstanceSettings(opts: InstanceSyncOptions): Promise<GlobalSetting[]>;
export declare function pullInstanceSettings(opts: InstanceSyncOptions, preview?: boolean): Promise<number | undefined>;
export declare function pushInstanceSettings(opts: InstanceSyncOptions, preview?: boolean): Promise<number | undefined>;
export declare function readLocalConfigs(opts: InstanceSyncOptions): Promise<Config[]>;
export declare function pullInstanceConfigs(opts: InstanceSyncOptions, preview?: boolean): Promise<number | undefined>;
export declare function pushInstanceConfigs(opts: InstanceSyncOptions, preview?: boolean): Promise<number | undefined>;
//# sourceMappingURL=settings.d.ts.map