// storage/webhook-server-store.ts — Incoming webhook server config persistence (SPEC-359)
import { join } from 'node:path';
import { readJson, writeJson } from './base-store.js';
const GLOBAL_CONFIG_PATH = join('data', 'global', 'webhook-server.json');
export async function getWebhookServerConfig() {
    return readJson(GLOBAL_CONFIG_PATH, null);
}
export async function saveWebhookServerConfig(config) {
    await writeJson(GLOBAL_CONFIG_PATH, config);
}
export async function removeWebhookServerConfig() {
    await writeJson(GLOBAL_CONFIG_PATH, null);
}
//# sourceMappingURL=webhook-server-store.js.map