import type { Config } from './schema.js';
export declare function mergeCronConfigPatch(config: Config, patch: Record<string, unknown>): {
    ok: true;
} | {
    ok: false;
    message: string;
};
export declare function mergeGoalsConfigPatch(config: Config, patch: Record<string, unknown>): {
    ok: true;
} | {
    ok: false;
    message: string;
};
export declare function mergeSessionConfigPatch(config: Config, patch: Record<string, unknown>): {
    ok: true;
} | {
    ok: false;
    message: string;
};
export declare function mergeUpdateConfigPatch(config: Config, patch: Record<string, unknown>): {
    ok: true;
} | {
    ok: false;
    message: string;
};
export declare function mergeGatewaySkillsMarketplacePatch(config: Config, patch: Record<string, unknown>): {
    ok: true;
} | {
    ok: false;
    message: string;
};
export declare function resolveGoalsConfigForWeb(config: Config): {
    maxTurns: number;
    checklistMode: boolean;
    maxConsecutiveParseFailures: number;
    judgeTimeoutMs: number;
    checklistHistoryChars: number;
    judgeModelRef?: string;
};
export declare function resolveSessionConfigForWeb(config: Config): {
    dmScope: "main" | "per-peer" | "per-channel-peer" | "per-account-channel-peer";
    storage: {
        pruneAfterDays: number;
        maxEntries: number;
    };
};
export declare function resolveUpdateConfigForWeb(config: Config): {
    checkOnStart: boolean;
    channel: "stable" | "beta" | "dev";
    auto: {
        enabled: boolean;
        stableDelayHours: number;
        stableJitterHours: number;
        betaCheckIntervalHours: number;
    };
};
export declare function resolveCronConfigForWeb(config: Config): {
    enabled: boolean;
    maxConcurrentJobs: number;
    defaultTimezone: string;
    historyRetentionDays: number;
    enableMetrics: boolean;
};
