import type { ServerRecord } from "../types/index.js";
declare const SERVERS_FILE: string;
export declare function getServersRaw(): ServerRecord[];
/** Atomic write: write to tmp file, then rename to prevent corruption on crash */
export declare function atomicWriteServers(servers: ServerRecord[]): void;
export declare function getServers(): ServerRecord[];
export declare function saveServer(record: ServerRecord): Promise<void>;
export declare function updateServer(name: string, updates: Partial<ServerRecord>): Promise<boolean>;
export declare function removeServer(id: string): Promise<boolean>;
export declare function findServer(query: string): ServerRecord | undefined;
export declare function findServers(query: string): ServerRecord[];
export { BACKUPS_DIR } from "./paths.js";
export { SERVERS_FILE };
//# sourceMappingURL=config.d.ts.map