import type { Config } from '../config/schema.js';
import type { GatewayService } from '../gateway/service.js';
import { type SiteShareConfig } from './site-share-types.js';
export declare function resolveSiteShareConfig(service: GatewayService): SiteShareConfig;
export declare function mergeWithDefaults(raw: unknown): SiteShareConfig;
export declare function mergeSiteShareConfigPatch(config: Config, patch: Record<string, unknown>): {
    ok: true;
} | {
    ok: false;
    message: string;
};
