import type { Config } from '../config/schema.js';
import { type ShareConfig } from './share-types.js';
export declare function resolveShareConfig(raw: unknown): ShareConfig;
export declare function mergeShareConfigPatch(config: Config, patch: Record<string, unknown>): {
    ok: true;
} | {
    ok: false;
    message: string;
};
